Patch to 8.3.0-T2A/dig.c
Andris Kalnozols
andris at hpl.hp.com
Tue Dec 18 05:26:06 UTC 2001
Here's a patch to dig.c that came with 8.3.0-T2A.
It fixes the following:
* Incremented the version string to 8.4 to differentiate this
DNSSEC-capable version of dig from the previous non-DNSSEC
versions.
* Found an instance of an unflushed error message that would
cause a reader of dig's stdout to block if dig's batch file
was a pipe.
Andris Kalnozols
Hewlett-Packard Laboratories
andris at hpl.hp.com
................................................................
*** dig.c.orig Mon Sep 24 06:50:22 2001
--- dig.c Mon Dec 17 20:43:58 2001
***************
*** 185,192 ****
/* Global. */
! #define VERSION 83
! #define VSTRING "8.3"
#define PRF_DEF (RES_PRF_STATS | RES_PRF_CMD | RES_PRF_QUES | \
RES_PRF_ANS | RES_PRF_AUTH | RES_PRF_ADD | \
--- 185,192 ----
/* Global. */
! #define VERSION 84
! #define VSTRING "8.4"
#define PRF_DEF (RES_PRF_STATS | RES_PRF_CMD | RES_PRF_QUES | \
RES_PRF_ANS | RES_PRF_AUTH | RES_PRF_ADD | \
***************
*** 846,851 ****
--- 846,852 ----
if (n < 0) {
fflush(stderr);
printf(";; res_nmkquery: buffer too small\n\n");
+ fflush(stdout);
continue;
}
if (queryType == T_IXFR) {
More information about the bind-workers
mailing list