+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.
1168. [bug] Empty also-notify clauses were not handled gracefully.
* 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>
cfg_parser_error(pctx, CFG_LOG_NEAR, "token too big");
break;
+ case ISC_R_IOERROR:
+ cfg_parser_error(pctx, 0, "%s",
+ isc_result_totext(result));
+ break;
+
default:
cfg_parser_error(pctx, CFG_LOG_NEAR, "%s",
- isc_result_totext(result));
+ isc_result_totext(result));
break;
}
return (result);