1603. [bug] nsupdate: set interactive based on isatty().

[RT# 10929]
This commit is contained in:
Mark Andrews
2004-04-10 04:03:16 +00:00
parent e76c2e04a4
commit b39213ce59
3 changed files with 7 additions and 3 deletions

View File

@@ -9,7 +9,8 @@
xfrout_ctx_destroy() being called with a
partially initaliased structure.
1603. [placeholder] rt10929.
1603. [bug] nsupdate: set interactive based on isatty().
[RT# 10929]
1602. [placeholder] rt10925.

View File

@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: nsupdate.c,v 1.130 2004/03/05 04:58:15 marka Exp $ */
/* $Id: nsupdate.c,v 1.131 2004/04/10 04:03:16 marka Exp $ */
#include <config.h>
@@ -1953,6 +1953,8 @@ main(int argc, char **argv) {
input = stdin;
interactive = ISC_TF(isatty(0));
isc_app_start();
parse_args(argc, argv);

View File

@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: config.h.win32,v 1.8 2004/03/16 05:22:15 marka Exp $ */
/* $Id: config.h.win32,v 1.9 2004/04/10 04:03:16 marka Exp $ */
/*
* win32 configuration file
@@ -192,6 +192,7 @@ typedef long off_t;
#define open _open
#define close _close
#define write _write
#define isatty _isatty
#ifndef _WINSOCKAPI_
#define _WINSOCKAPI_ /* Prevent inclusion of winsock.h in windows.h */