2043. [port] nsupdate/nslookup: Force the flushing of the prompt
for interactive sessions. [RT#16148]
This commit is contained in:
3
CHANGES
3
CHANGES
@@ -1,3 +1,6 @@
|
||||
2043. [port] nsupdate/nslookup: Force the flushing of the prompt
|
||||
for interactive sessions. [RT#16148]
|
||||
|
||||
2042. [bug] named-checkconf was incorrectly rejecting the
|
||||
logging category "config". [RT #16117]
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: nslookup.c,v 1.101.18.9 2005/08/25 00:43:25 marka Exp $ */
|
||||
/* $Id: nslookup.c,v 1.101.18.10 2006/06/09 07:30:27 marka Exp $ */
|
||||
|
||||
#include <config.h>
|
||||
|
||||
@@ -715,6 +715,7 @@ get_next_command(void) {
|
||||
if (buf == NULL)
|
||||
fatal("memory allocation failure");
|
||||
fputs("> ", stderr);
|
||||
fflush(stderr);
|
||||
isc_app_block();
|
||||
ptr = fgets(buf, COMMSIZE, stdin);
|
||||
isc_app_unblock();
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: nsupdate.c,v 1.130.18.13 2006/03/02 23:19:20 marka Exp $ */
|
||||
/* $Id: nsupdate.c,v 1.130.18.14 2006/06/09 07:30:28 marka Exp $ */
|
||||
|
||||
/*! \file */
|
||||
|
||||
@@ -1499,8 +1499,10 @@ get_next_command(void) {
|
||||
char *word;
|
||||
|
||||
ddebug("get_next_command()");
|
||||
if (interactive)
|
||||
if (interactive) {
|
||||
fprintf(stdout, "> ");
|
||||
fflush(stdout);
|
||||
}
|
||||
isc_app_block();
|
||||
cmdline = fgets(cmdlinebuf, MAXCMD, input);
|
||||
isc_app_unblock();
|
||||
|
||||
Reference in New Issue
Block a user