summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-02-24 22:13:41 +0000
committerMike Frysinger <vapier@gentoo.org>2009-02-24 22:13:41 +0000
commit6250fd355147296bddd7ee131e9440ea03bec83c (patch)
treeef44ed86ad850cd67a189b1c2099c29a07162b7a /app-shells/bash/files
parenttouch up style a bit (diff)
downloadhistorical-6250fd355147296bddd7ee131e9440ea03bec83c.tar.gz
historical-6250fd355147296bddd7ee131e9440ea03bec83c.tar.bz2
historical-6250fd355147296bddd7ee131e9440ea03bec83c.zip
Add another fix from upstream.
Package-Manager: portage-2.2_rc23/cvs/Linux x86_64
Diffstat (limited to 'app-shells/bash/files')
-rw-r--r--app-shells/bash/files/bash-4.0-pcomplete-save-parser-state.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/app-shells/bash/files/bash-4.0-pcomplete-save-parser-state.patch b/app-shells/bash/files/bash-4.0-pcomplete-save-parser-state.patch
new file mode 100644
index 000000000000..71b6e9632025
--- /dev/null
+++ b/app-shells/bash/files/bash-4.0-pcomplete-save-parser-state.patch
@@ -0,0 +1,12 @@
+http://lists.gnu.org/archive/html/bug-bash/2009-02/msg00142.html
+
+*** ../bash-4.0/pcomplete.c 2009-02-01 17:12:31.000000000 -0500
+--- pcomplete.c 2009-02-22 17:08:25.000000000 -0500
+***************
+*** 1033,1036 ****
+--- 1033,1037 ----
+
+ pps = &ps;
++ save_parser_state (pps);
+ begin_unwind_frame ("gen-shell-function-matches");
+ add_unwind_protect (restore_parser_state, (char *)pps);