bind9/bin/dig
Michał Kępień 5cc841fa53 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:06 +10:00
..
include/dig Replace custom isc_boolean_t with C standard bool type 2018-08-10 11:17:51 +02:00
win32 [master] add libns and remove liblwres 2017-09-08 13:47:34 -07:00
.gitignore [master] update gitignore files; use rev-parse to get srcid 2014-06-17 13:49:30 -07:00
dig.1 prepare 9.12.1rc1 2018-06-21 18:46:32 +02:00
dig.c Replace custom isc_boolean_t with C standard bool type 2018-08-10 11:17:51 +02:00
dig.docbook copyrights 2018-05-23 09:52:09 -07:00
dig.html prepare 9.12.1rc1 2018-06-21 18:46:32 +02:00
dighost.c Reset dig exit code after a TCP connection is established 2018-08-27 14:30:06 +10:00
host.1 prepare 9.12.1rc1 2018-06-21 18:46:32 +02:00
host.c Replace custom isc_boolean_t with C standard bool type 2018-08-10 11:17:51 +02:00
host.docbook Update license headers to not include years in copyright in all applicable files 2018-02-23 10:38:02 +01:00
host.html prepare 9.12.1rc1 2018-06-21 18:46:32 +02:00
Makefile.in Revert "Use make automatic variables to install updated manuals" 2018-08-06 12:51:07 +02:00
nslookup.1 prepare 9.12.1rc1 2018-06-21 18:46:32 +02:00
nslookup.c Replace custom isc_boolean_t with C standard bool type 2018-08-10 11:17:51 +02:00
nslookup.docbook Update license headers to not include years in copyright in all applicable files 2018-02-23 10:38:02 +01:00
nslookup.html prepare 9.12.1rc1 2018-06-21 18:46:32 +02:00