aboutsummaryrefslogtreecommitdiff
path: root/dns/powerdns-devel/files/patch-modules_ldapbackend_utils_hh
diff options
context:
space:
mode:
authorcvs2svn <cvs2svn@FreeBSD.org>2005-10-16 07:41:55 +0000
committercvs2svn <cvs2svn@FreeBSD.org>2005-10-16 07:41:55 +0000
commit40a3261d1a6e2617f6afde0cd6d762a7e211af7a (patch)
treed70bbf882801af3a4e58dde3ed6a1da1849479d4 /dns/powerdns-devel/files/patch-modules_ldapbackend_utils_hh
parenta9f801a2186fcb89f70f7dcb211c6d4922c0e3af (diff)
downloadports-release/6.0.0.tar.gz
ports-release/6.0.0.zip
This commit was manufactured by cvs2svn to create tag 'RELEASE_6_0_0'.release/6.0.0
Diffstat (limited to 'dns/powerdns-devel/files/patch-modules_ldapbackend_utils_hh')
-rw-r--r--dns/powerdns-devel/files/patch-modules_ldapbackend_utils_hh42
1 files changed, 0 insertions, 42 deletions
diff --git a/dns/powerdns-devel/files/patch-modules_ldapbackend_utils_hh b/dns/powerdns-devel/files/patch-modules_ldapbackend_utils_hh
deleted file mode 100644
index 6be2a52534e2..000000000000
--- a/dns/powerdns-devel/files/patch-modules_ldapbackend_utils_hh
+++ /dev/null
@@ -1,42 +0,0 @@
---- modules/ldapbackend/utils.hh.orig Sat Apr 23 23:40:15 2005
-+++ modules/ldapbackend/utils.hh Thu Jul 28 09:03:14 2005
-@@ -73,7 +73,7 @@
- }
-
-
--inline string ip2ptr4( string ip )
-+inline string ip2ptr4( const string& ip )
- {
- string ptr;
- vector<string> parts;
-@@ -89,7 +89,7 @@
- }
-
-
--inline string ip2ptr6( string ip )
-+inline string ip2ptr6( const string& ip )
- {
- string ptr, part, defstr;
- vector<string> parts;
-@@ -114,6 +114,21 @@
- }
-
- return ptr + "ip6.arpa";
-+}
-+
-+
-+inline string strbind( const string& search, const string& replace, string subject )
-+{
-+ size_t pos = 0;
-+
-+
-+ while( ( pos = subject.find( search, pos ) ) != string::npos )
-+ {
-+ subject.replace( pos, search.size(), replace );
-+ pos += replace.size();
-+ }
-+
-+ return subject;
- }
-
- #endif