From: Mark Andrews Date: Wed, 2 May 2007 04:06:24 +0000 (+0000) Subject: 2174. [bug] I/O errors should always be fatal when reading X-Git-Tag: v9.5.0a5~63 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=1de5f8f80930dc322688010740c7dfe56eb035b0;p=thirdparty%2Fbind9.git 2174. [bug] I/O errors should always be fatal when reading master files. [RT #16825] --- diff --git a/CHANGES b/CHANGES index 2c68faf94f3..caf2834d830 100644 --- 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. diff --git a/lib/dns/master.c b/lib/dns/master.c index a3f62902c0c..cf07ebc5f0e 100644 --- a/lib/dns/master.c +++ b/lib/dns/master.c @@ -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 { \