1603. [bug] nsupdate: set interactive based on isatty().
[RT# 10929]
This commit is contained in:
3
CHANGES
3
CHANGES
@@ -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.
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user