rpms/bash/devel pcomplete-save-parser-state.patch, NONE, 1.1 bash.spec, 1.175, 1.176
Roman Rakus
rrakus at fedoraproject.org
Wed Feb 25 14:40:06 UTC 2009
Author: rrakus
Update of /cvs/extras/rpms/bash/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv20119
Modified Files:
bash.spec
Added Files:
pcomplete-save-parser-state.patch
Log Message:
Save parser state in pcomplete. Resolves: #487257
pcomplete-save-parser-state.patch:
--- NEW FILE pcomplete-save-parser-state.patch ---
diff -up bash-4.0/pcomplete.c.parser_state bash-4.0/pcomplete.c
--- bash-4.0/pcomplete.c.parser_state 2009-02-25 15:33:16.000000000 +0100
+++ bash-4.0/pcomplete.c 2009-02-25 15:34:06.000000000 +0100
@@ -1032,6 +1032,7 @@ gen_shell_function_matches (cs, text, li
cmdlist = build_arg_list (funcname, text, lwords, cw);
pps = &ps;
+ save_parser_state (pps);
begin_unwind_frame ("gen-shell-function-matches");
add_unwind_protect (restore_parser_state, (char *)pps);
add_unwind_protect (dispose_words, (char *)cmdlist);
Index: bash.spec
===================================================================
RCS file: /cvs/extras/rpms/bash/devel/bash.spec,v
retrieving revision 1.175
retrieving revision 1.176
diff -u -r1.175 -r1.176
--- bash.spec 24 Feb 2009 13:28:29 -0000 1.175
+++ bash.spec 25 Feb 2009 14:39:36 -0000 1.176
@@ -3,7 +3,7 @@
Version: 4.0
Name: bash
Summary: The GNU Bourne Again shell version %{version}
-Release: 1%{?dist}
+Release: 2%{?dist}
Group: System Environment/Shells
License: GPLv2+
Url: http://www.gnu.org/software/bash
@@ -38,6 +38,7 @@
Patch116: bash-requires.patch
Patch117: bash-setlocale.patch
Patch118: bash-tty-tests.patch
+Patch119: pcomplete-save-parser-state.patch
#Patch119: bash-ulimit-m.patch
#Patch120: bash-4.0-no_debug_output.patch
#Patch121: bash-4.0-shell_pipelines_handling.patch
@@ -82,6 +83,7 @@
%patch116 -p1 -b .requires
%patch117 -p1 -b .setlocale
%patch118 -p1 -b .tty_tests
+%patch119 -p1 -b .parser-state
#%patch119 -p1 -b .ulimit-m
#%patch120 -p1 -b .no_debug_output
#%patch121 -p1 -b .pipelines_handling
@@ -243,7 +245,11 @@
#%doc doc/*.ps doc/*.0 doc/*.html doc/article.txt
%changelog
-* Tue Feb 24 2009 Roman Rakus <rrakus at rehat.com> - 4.0-1
+* Wed Feb 25 2009 Roman Rakus <rrakus at redhat.com> - 4.0-2
+- Save parser state in pcomplete.
+ Resolves: #487257
+
+* Tue Feb 24 2009 Roman Rakus <rrakus at redhat.com> - 4.0-1
- Release of bash-4.0
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 4.0-0.5.rc1
More information about the scm-commits
mailing list