2615. [port] win32: 'named -v' should automatically be executed

in the foreground. [RT #19844]
This commit is contained in:
Mark Andrews
2009-06-23 07:51:00 +00:00
parent 8fa3d35e1b
commit 8ce2b50c32
2 changed files with 9 additions and 3 deletions
+3
View File
@@ -1,3 +1,6 @@
2615. [port] win32: 'named -v' should automatically be executed
in the foreground. [RT #19844]
2613. [bug] Option argument validation was missing for
dnssec-dsfromkey. [RT #19828]
+6 -3
View File
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: ntservice.c,v 1.12 2007/06/19 23:46:59 tbox Exp $ */
/* $Id: ntservice.c,v 1.12.332.1 2009/06/23 07:51:00 marka Exp $ */
#include <config.h>
#include <stdio.h>
@@ -65,9 +65,12 @@ int bindmain()
*/
GetArgs(&argc, &argv, &envp);
/* Command line users should put -f in the options */
/* Command line users should put -f in the options. */
/* XXXMPA should use isc_commandline_parse() here. */
while (argv[i]) {
if (!strcmp(argv[i], "-f") || !strcmp(argv[i], "-g")) {
if (!strcmp(argv[i], "-f") ||
!strcmp(argv[i], "-g") ||
!strcmp(argv[i], "-v")) {
foreground = TRUE;
break;
}