]> git.pld-linux.org Git - packages/pdns.git/commitdiff
- from lists about problem on amd64,
authordjrzulf <djrzulf@pld-linux.org>
Wed, 16 Feb 2005 22:01:17 +0000 (22:01 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    pdns-305.patch -> 1.1
    pdns-307.patch -> 1.1

pdns-305.patch [new file with mode: 0644]
pdns-307.patch [new file with mode: 0644]

diff --git a/pdns-305.patch b/pdns-305.patch
new file mode 100644 (file)
index 0000000..98ab984
--- /dev/null
@@ -0,0 +1,59 @@
+--- trunk/pdns/pdns/logger.cc  (revision 304)
++++ trunk/pdns/pdns/logger.cc  (revision 305)
+@@ -1,11 +1,10 @@
+ /*
+     PowerDNS Versatile Database Driven Nameserver
+-    Copyright (C) 2002  PowerDNS.COM BV
++    Copyright (C) 2005  PowerDNS.COM BV
+     This program is free software; you can redistribute it and/or modify
+-    it under the terms of the GNU General Public License as published by
+-    the Free Software Foundation; either version 2 of the License, or
+-    (at your option) any later version.
++    it under the terms of the GNU General Public License version 2 as 
++    published by the Free Software Foundation
+     This program is distributed in the hope that it will be useful,
+     but WITHOUT ANY WARRANTY; without even the implied warranty of
+@@ -131,6 +130,16 @@
+   return *this;
+ }
++Logger& Logger::operator<<(unsigned long i)
++{
++  ostringstream tmp;
++  tmp<<i;
++
++  *this<<tmp.str();
++
++  return *this;
++}
++
+ Logger& Logger::operator<<(ostream & (&)(ostream &))
+ {
+--- trunk/pdns/pdns/logger.hh  (revision 304)
++++ trunk/pdns/pdns/logger.hh  (revision 305)
+@@ -1,11 +1,10 @@
+ /*
+     PowerDNS Versatile Database Driven Nameserver
+-    Copyright (C) 2002  PowerDNS.COM BV
++    Copyright (C) 2005  PowerDNS.COM BV
+     This program is free software; you can redistribute it and/or modify
+-    it under the terms of the GNU General Public License as published by
+-    the Free Software Foundation; either version 2 of the License, or
+-    (at your option) any later version.
++    it under the terms of the GNU General Public License version 2 as 
++    published by the Free Software Foundation
+     This program is distributed in the hope that it will be useful,
+     but WITHOUT ANY WARRANTY; without even the implied warranty of
+@@ -111,6 +110,7 @@
+   Logger& operator<<(const string &s);   //!< log a string
+   Logger& operator<<(int);   //!< log an int
+   Logger& operator<<(unsigned int);   //!< log an unsigned int
++  Logger& operator<<(unsigned long);   //!< log an unsigned int
+   Logger& operator<<(Urgency);    //!< set the urgency, << style
+ #ifndef WIN32
diff --git a/pdns-307.patch b/pdns-307.patch
new file mode 100644 (file)
index 0000000..a68e684
--- /dev/null
@@ -0,0 +1,28 @@
+--- trunk/pdns/pdns/logger.cc  (revision 306)
++++ trunk/pdns/pdns/logger.cc  (revision 307)
+@@ -140,6 +140,15 @@
+   return *this;
+ }
++Logger& Logger::operator<<(long i)
++{
++  ostringstream tmp;
++  tmp<<i;
++
++  *this<<tmp.str();
++
++  return *this;
++}
+ Logger& Logger::operator<<(ostream & (&)(ostream &))
+ {
+--- trunk/pdns/pdns/logger.hh  (revision 306)
++++ trunk/pdns/pdns/logger.hh  (revision 307)
+@@ -110,6 +110,7 @@
+   Logger& operator<<(const string &s);   //!< log a string
+   Logger& operator<<(int);   //!< log an int
+   Logger& operator<<(unsigned int);   //!< log an unsigned int
++  Logger& operator<<(long);   //!< log an unsigned int
+   Logger& operator<<(unsigned long);   //!< log an unsigned int
+   Logger& operator<<(Urgency);    //!< set the urgency, << style
This page took 0.054721 seconds and 4 git commands to generate.