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
commit7bf8a41e92f6d7163badf5ee1390acd97db2108e (patch)
treeb2f6a7a4cb5477ec9abebffa6f20f153fa6c994b /app-shells/bash/files
parenttouch up style a bit (diff)
downloadgentoo-2-7bf8a41e92f6d7163badf5ee1390acd97db2108e.tar.gz
gentoo-2-7bf8a41e92f6d7163badf5ee1390acd97db2108e.tar.bz2
gentoo-2-7bf8a41e92f6d7163badf5ee1390acd97db2108e.zip
Add another fix from upstream.
(Portage version: 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);