2615. [port] win32: 'named -v' should automatically be executed
in the foreground. [RT #19844]
This commit is contained in:
@@ -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]
|
||||
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user