diff options
Diffstat (limited to 'app-shells/bash/files/bash-4.0-pcomplete-save-parser-state.patch')
-rw-r--r-- | app-shells/bash/files/bash-4.0-pcomplete-save-parser-state.patch | 12 |
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); |