]> git.pld-linux.org Git - packages/pdns.git/commitdiff
- obsoleted
authorzbyniu <zbyniu@pld-linux.org>
Thu, 17 Nov 2005 23:14:05 +0000 (23:14 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    pdns-strbind.patch -> 1.2

pdns-strbind.patch [deleted file]

diff --git a/pdns-strbind.patch b/pdns-strbind.patch
deleted file mode 100644 (file)
index e2b7ad9..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
---- pdns-2.9.17/modules/ldapbackend/utils.hh   2004-02-22 10:35:01.000000000 +0100
-+++ pdns-2.9.17.new/modules/ldapbackend/utils.hh       2005-05-20 11:15:40.530121464 +0200
-@@ -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;
-@@ -116,4 +116,19 @@
-       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
This page took 0.0634 seconds and 4 git commands to generate.