Roman Rakus f754370
diff -up bash-3.2/shell.c.comp_wordbreaks bash-3.2/shell.c
Roman Rakus f754370
--- bash-3.2/shell.c.comp_wordbreaks	2008-05-22 13:11:54.000000000 +0200
Roman Rakus f754370
+++ bash-3.2/shell.c	2008-05-22 13:29:04.000000000 +0200
Roman Rakus f754370
@@ -71,6 +71,10 @@
Roman Rakus f754370
 #  include <readline/history.h>
Roman Rakus f754370
 #endif
Roman Rakus f754370
 
Roman Rakus f754370
+#if defined (READLINE)
Roman Rakus f754370
+#include "bashline.h"
Roman Rakus f754370
+#endif
Roman Rakus f754370
+
Roman Rakus f754370
 #include <tilde/tilde.h>
Roman Rakus f754370
 #include <glob/strmatch.h>
Roman Rakus f754370
 
Roman Rakus f754370
@@ -1729,6 +1733,11 @@ shell_reinitialize ()
Roman Rakus f754370
   delete_all_contexts (shell_variables);
Roman Rakus f754370
   delete_all_variables (shell_functions);
Roman Rakus f754370
 
Roman Rakus f754370
+#if defined (READLINE)
Roman Rakus f754370
+  sv_comp_wordbreaks ("COMP_WORDBREAKS");
Roman Rakus f754370
+  bash_readline_initialized = 0;
Roman Rakus f754370
+#endif /* READLINE */
Roman Rakus f754370
+
Roman Rakus f754370
   shell_reinitialized = 1;
Roman Rakus f754370
 }
Roman Rakus f754370