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