diff --git a/CHANGES b/CHANGES index dfa8e598ec..650ea1887b 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,6 @@ +5307. [bug] Fix hang when named-compilezone output is sent to pipe. + Thanks to Tony Finch. [GL !2481] + 5306. [placeholder] 5305. [bug] NSEC Aggressive Cache ("synth-from-dnssec") has been @@ -11,7 +14,7 @@ 5303. [placeholder] 5302. [bug] Fix checking that "dnstap-output" is defined when - "dnstap" is specified" in a view. [GL #1281] + "dnstap" is specified in a view. [GL #1281] 5301. [bug] Detect partial prefixes / incomplete IPv4 address in acls. [GL #1143] diff --git a/bin/check/check-tool.c b/bin/check/check-tool.c index e9ab4eb633..9585054456 100644 --- a/bin/check/check-tool.c +++ b/bin/check/check-tool.c @@ -716,7 +716,7 @@ dump_zone(const char *zonename, dns_zone_t *zone, const char *filename, FILE *output = stdout; const char *flags; - flags = (fileformat == dns_masterformat_text) ? "w+" : "wb+"; + flags = (fileformat == dns_masterformat_text) ? "w" : "wb"; if (debug) { if (filename != NULL && strcmp(filename, "-") != 0)