diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2005-12-07 03:16:08 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2005-12-07 03:16:08 +0000 |
commit | 96111fb473a4c9d232acf18785b490aa73a1fcf1 (patch) | |
tree | 4b3132753216b9aa088d517ab3dbc0e6a4bce324 /usr.sbin/bind/bin/dig | |
parent | 8a84bbd025b267b39a0c530fe7a5426680823680 (diff) |
new ISC nslookup clone "written because we feel like it" is incorrect
to spit out the ">" prompt to stderr; it has always been output to stdout
historically, and that is the right thing to do. scripts depend on it,
as spotted in pr 4937. my fix, because the scripts do not need fixing
Diffstat (limited to 'usr.sbin/bind/bin/dig')
-rw-r--r-- | usr.sbin/bind/bin/dig/nslookup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/bind/bin/dig/nslookup.c b/usr.sbin/bind/bin/dig/nslookup.c index 98e1871cfd2..c0db69e5659 100644 --- a/usr.sbin/bind/bin/dig/nslookup.c +++ b/usr.sbin/bind/bin/dig/nslookup.c @@ -719,7 +719,7 @@ get_next_command(void) { buf = isc_mem_allocate(mctx, COMMSIZE); if (buf == NULL) fatal("memory allocation failure"); - fputs("> ", stderr); + fputs("> ", stdout); isc_app_block(); ptr = fgets(buf, COMMSIZE, stdin); isc_app_unblock(); |