2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-09-03 08:05:21 +00:00

2967. [bug] 'host -D' now turns on debugging messages earlier.

[RT #22361]
This commit is contained in:
Mark Andrews
2010-10-19 02:48:17 +00:00
parent 51bc77127c
commit c9c2ffe729
2 changed files with 8 additions and 3 deletions

View File

@@ -1,3 +1,6 @@
2967. [bug] 'host -D' now turns on debugging messages earlier.
[RT #22361]
2966. [bug] isc_print_vsnprintf() failed to check if there was 2966. [bug] isc_print_vsnprintf() failed to check if there was
space available in the buffer when adding a left space available in the buffer when adding a left
justified character with a non zero width, justified character with a non zero width,

View File

@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE. * PERFORMANCE OF THIS SOFTWARE.
*/ */
/* $Id: host.c,v 1.120 2009/09/29 15:06:05 fdupont Exp $ */ /* $Id: host.c,v 1.121 2010/10/19 02:48:17 marka Exp $ */
/*! \file */ /*! \file */
@@ -628,7 +628,9 @@ pre_parse_args(int argc, char **argv) {
case 'v': break; case 'v': break;
case 'w': break; case 'w': break;
case 'C': break; case 'C': break;
case 'D': break; case 'D':
debugging = ISC_TRUE;
break;
case 'N': break; case 'N': break;
case 'R': break; case 'R': break;
case 'T': break; case 'T': break;
@@ -795,7 +797,7 @@ parse_args(isc_boolean_t is_batchfile, int argc, char **argv) {
ndots = atoi(isc_commandline_argument); ndots = atoi(isc_commandline_argument);
break; break;
case 'D': case 'D':
debugging = ISC_TRUE; /* Handled by pre_parse_args(). */
break; break;
case '4': case '4':
if (have_ipv4) { if (have_ipv4) {