From 64bb207ae9f9a2cad0aff0990d3fd94d9b7c3c55 Mon Sep 17 00:00:00 2001 From: Stelian Pop Date: Sun, 11 Jun 2000 17:26:04 +0000 Subject: [PATCH] Made 'cat DUMPFILE | restore -i -f - ' work again. --- CHANGES | 7 ++++++- restore/interactive.c | 3 ++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/CHANGES b/CHANGES index 9eef114..c24dbbb 100644 --- a/CHANGES +++ b/CHANGES @@ -1,4 +1,4 @@ -$Id: CHANGES,v 1.63 2000/06/03 22:24:17 stelian Exp $ +$Id: CHANGES,v 1.64 2000/06/11 17:26:04 stelian Exp $ Changes between versions 0.4b17 and 0.4b18 (released ??????????????) ==================================================================== @@ -7,6 +7,11 @@ Changes between versions 0.4b17 and 0.4b18 (released ??????????????) to Stan Bubrouski for reporting the bug. +2. Fixed a readline-related bug which prevented + 'cat DUMPFILE | restore -i -f -' from working. Thanks + to Charles Karney + for the bug report. + Changes between versions 0.4b16 and 0.4b17 (released June 1st, 2000) ==================================================================== diff --git a/restore/interactive.c b/restore/interactive.c index d8854c6..4f7049b 100644 --- a/restore/interactive.c +++ b/restore/interactive.c @@ -40,7 +40,7 @@ #ifndef lint static const char rcsid[] = - "$Id: interactive.c,v 1.11 2000/05/29 14:17:37 stelian Exp $"; + "$Id: interactive.c,v 1.12 2000/06/11 17:26:04 stelian Exp $"; #endif /* not lint */ #include @@ -897,6 +897,7 @@ initialize_readline(void) rl_attempted_completion_function = restore_completion; rl_completion_entry_function = (Function *)NULL; rl_completion_append_character = '\0'; + rl_instream = terminal; } static char ** -- 2.39.5