]> git.pld-linux.org Git - packages/pdns.git/commitdiff
bugfix for pdns 2.9.13 - fixes master/slave mysql lookup loop
authorzergin <zergin@pld-linux.org>
Thu, 15 Jan 2004 02:05:26 +0000 (02:05 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    pdns-sqlload.patch -> 1.1

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

diff --git a/pdns-sqlload.patch b/pdns-sqlload.patch
new file mode 100644 (file)
index 0000000..969b034
--- /dev/null
@@ -0,0 +1,12 @@
+diff -urN org/pdns/communicator.hh pdns-2.9.13/pdns/communicator.hh
+--- org/pdns/communicator.hh   Sat May 24 20:39:31 2003
++++ pdns-2.9.13/pdns/communicator.hh   Thu Jan 15 02:16:00 2004
+@@ -94,7 +94,7 @@
+   
+   time_t earliest()
+   {
+-    time_t early=1<<31-1; // y2038 problem lurking here :-)
++    time_t early=(1<<31)-1; // y2038 problem lurking here :-)
+     for(d_nqueue_t::const_iterator i=d_nqueue.begin();i!=d_nqueue.end();++i) 
+       early=min(early,i->next);
+     return early-time(0);
This page took 0.052916 seconds and 4 git commands to generate.