]> git.wh0rd.org - dump.git/commitdiff
Made 'cat DUMPFILE | restore -i -f - ' work again.
authorStelian Pop <stelian@popies.net>
Sun, 11 Jun 2000 17:26:04 +0000 (17:26 +0000)
committerStelian Pop <stelian@popies.net>
Sun, 11 Jun 2000 17:26:04 +0000 (17:26 +0000)
CHANGES
restore/interactive.c

diff --git a/CHANGES b/CHANGES
index 9eef114b4bfadf9445025077e23e7e040584aaf8..c24dbbbcfaf1625ef3361b4f36263eaad2d73dea 100644 (file)
--- 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 <satan@fastdial.net> for reporting 
        the bug.
 
+2.     Fixed a readline-related bug which prevented
+       'cat DUMPFILE | restore -i -f -' from working. Thanks
+       to Charles Karney <karney@users.sourceforge.net>
+       for the bug report.
+
 Changes between versions 0.4b16 and 0.4b17 (released June 1st, 2000)
 ====================================================================
 
index d8854c663e84523364ddb21df32b52b82e051ae6..4f7049b6a7e7eacfb2df45a2218fbd6ffae6c2cc 100644 (file)
@@ -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 <sys/param.h>
@@ -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 **