bind9/bin/dig
Michał Kępień bfdeac09af Reset dig exit code after a TCP connection is established
The "exitcode" variable is set to 9 if a TCP connection fails, but is
not reset to 0 if a subsequent TCP connection succeeds.  This causes dig
to return a non-zero exit code if it succeeds in getting a TCP response
after a retry.  Fix by resetting "exitcode" to 0 if connect_done()
receives an event with the "result" field set to ISC_R_SUCCESS.

(cherry picked from commit deb3b85cb2)
2018-08-27 14:30:51 +10:00
..
include/dig Replace custom isc_boolean_t with C standard bool type 2018-08-10 15:20:57 +02:00
win32 4585. [port] win32: Set CompileAS value. [RT #42474] 2017-04-20 12:42:39 +10:00
.gitignore [master] update gitignore files; use rev-parse to get srcid 2014-06-17 13:49:30 -07:00
dig.1 prepare 9.11.4rc1 2018-06-21 18:54:43 +02:00
dig.c Replace custom isc_boolean_t with C standard bool type 2018-08-10 15:20:57 +02:00
dig.docbook copyrights 2018-05-23 09:55:41 -07:00
dig.html prepare 9.11.4rc1 2018-06-21 18:54:43 +02:00
dighost.c Reset dig exit code after a TCP connection is established 2018-08-27 14:30:51 +10:00
host.1 prepare 9.11.4rc1 2018-06-21 18:54:43 +02:00
host.c Replace custom isc_boolean_t with C standard bool type 2018-08-10 15:20:57 +02:00
host.docbook update file headers to remove copyright years 2018-03-14 16:40:20 -07:00
host.html prepare 9.11.4rc1 2018-06-21 18:54:43 +02:00
Makefile.in Revert "Use make automatic variables to install updated manuals" 2018-08-06 12:54:23 +02:00
nslookup.1 prepare 9.11.4rc1 2018-06-21 18:54:43 +02:00
nslookup.c Replace custom isc_boolean_t with C standard bool type 2018-08-10 15:20:57 +02:00
nslookup.docbook update file headers to remove copyright years 2018-03-14 16:40:20 -07:00
nslookup.html prepare 9.11.4rc1 2018-06-21 18:54:43 +02:00