mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-29 05:28:00 +00:00
1170. [bug] Don't attempt to print the token when a I/O error
occurs when parsing named.conf. [RT #2275]
This commit is contained in:
parent
6a2a7fbfd1
commit
adbb11147c
3
CHANGES
3
CHANGES
@ -1,3 +1,6 @@
|
|||||||
|
1170. [bug] Don't attempt to print the token when a I/O error
|
||||||
|
occurs when parsing named.conf. [RT #2275]
|
||||||
|
|
||||||
1169. [func] Identify recursive queries in the query log.
|
1169. [func] Identify recursive queries in the query log.
|
||||||
|
|
||||||
1168. [bug] Empty also-notify clauses were not handled gracefully.
|
1168. [bug] Empty also-notify clauses were not handled gracefully.
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* $Id: parser.c,v 1.96 2002/01/04 02:32:12 gson Exp $ */
|
/* $Id: parser.c,v 1.97 2002/01/04 05:42:12 marka Exp $ */
|
||||||
|
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
|
|
||||||
@ -1970,9 +1970,14 @@ cfg_gettoken(cfg_parser_t *pctx, int options) {
|
|||||||
cfg_parser_error(pctx, CFG_LOG_NEAR, "token too big");
|
cfg_parser_error(pctx, CFG_LOG_NEAR, "token too big");
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case ISC_R_IOERROR:
|
||||||
|
cfg_parser_error(pctx, 0, "%s",
|
||||||
|
isc_result_totext(result));
|
||||||
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
cfg_parser_error(pctx, CFG_LOG_NEAR, "%s",
|
cfg_parser_error(pctx, CFG_LOG_NEAR, "%s",
|
||||||
isc_result_totext(result));
|
isc_result_totext(result));
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
return (result);
|
return (result);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user