]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
2174. [bug] I/O errors should always be fatal when reading
authorMark Andrews <marka@isc.org>
Wed, 2 May 2007 04:06:24 +0000 (04:06 +0000)
committerMark Andrews <marka@isc.org>
Wed, 2 May 2007 04:06:24 +0000 (04:06 +0000)
                        master files. [RT #16825]

CHANGES
lib/dns/master.c

diff --git a/CHANGES b/CHANGES
index 2c68faf94f34186a1bbc5cdb77c8f182cbf0e9ad..caf2834d830ae2099aca7d0c9efe9a454dd1b478 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,6 @@
+2174.  [bug]           I/O errors should always be fatal when reading
+                       master files. [RT #16825]
+
 2173.  [port]          win32: When compiling with MSVS 2005 SP1 we also
                        need to ship Microsoft.VC80.MFCLOC.
 
index a3f62902c0c0e0e1d91eba77fac3c7553447b468..cf07ebc5f0e1b8d0e0c7a6e5c5af5284cd25de7c 100644 (file)
@@ -15,7 +15,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: master.c,v 1.161 2006/12/07 23:57:59 marka Exp $ */
+/* $Id: master.c,v 1.162 2007/05/02 04:06:24 marka Exp $ */
 
 /*! \file */
 
@@ -276,7 +276,8 @@ loadctx_destroy(dns_loadctx_t *lctx);
 
 #define MANYERRS(lctx, result) \
                ((result != ISC_R_SUCCESS) && \
-               ((lctx)->options & DNS_MASTER_MANYERRORS) != 0)
+                (result != ISC_R_IOERROR) && \
+                ((lctx)->options & DNS_MASTER_MANYERRORS) != 0)
 
 #define SETRESULT(lctx, r) \
                do { \