Hello community, here is the log from the commit of package bash for openSUSE:Factory checked in at Wed Mar 4 14:52:22 CET 2009. -------- --- bash/bash.changes 2009-02-27 17:39:15.000000000 +0100 +++ bash/bash.changes 2009-03-04 14:44:40.732002154 +0100 @@ -1,0 +2,10 @@ +Wed Mar 4 13:10:02 CET 2009 - werner@suse.de + +- My last patch for bnc#470548 send to bug-bash@gnu.org was not + fully applied and this had caused a memory corruption on tab + completion. +- Enable the parser to find closing parenthesis at the end of + an argument of a command even if backslash is used (bnc#481817) +- Correct link of shared libraries of devel readline package + +------------------------------------------------------------------- calling whatdependson for head-i586 New: ---- bash-4.0-complete.dif bash-4.0-parenthese.dif ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ bash.spec ++++++ --- /var/tmp/diff_new_pack.RI5076/_old 2009-03-04 14:51:23.000000000 +0100 +++ /var/tmp/diff_new_pack.RI5076/_new 2009-03-04 14:51:23.000000000 +0100 @@ -27,7 +27,7 @@ Suggests: command-not-found AutoReqProv: on Version: 4.0 -Release: 2 +Release: 3 Summary: The GNU Bourne-Again Shell Url: http://www.gnu.org/software/bash/bash.html Source0: ftp://ftp.gnu.org/gnu/bash/bash-%{bash_vers}.tar.bz2 @@ -52,6 +52,8 @@ Patch14: bash-3.2-sigrestart.patch Patch15: bash-3.2-longjmp.dif Patch16: bash-4.0-setlocale.dif +Patch17: bash-4.0-complete.dif +Patch18: bash-4.0-parenthese.dif Patch20: readline-%{rl_vers}.dif Patch21: readline-4.3-input.dif Patch22: readline-6.0-wrap.patch @@ -84,7 +86,7 @@ Provides: bash:%{_infodir}/bash.info.gz PreReq: %install_info_prereq Version: 4.0 -Release: 2 +Release: 3 AutoReqProv: on %description -n bash-doc @@ -104,7 +106,7 @@ Group: System/Libraries Provides: bash:/%{_lib}/libreadline.so.%{rl_major} Version: 6.0 -Release: 2 +Release: 3 Recommends: readline-doc = %{version} # bug437293 %ifarch ppc64 @@ -133,7 +135,7 @@ Group: Development/Libraries/C and C++ Provides: bash:%{_libdir}/libreadline.a Version: 6.0 -Release: 2 +Release: 3 Requires: libreadline6 = %{version} Requires: ncurses-devel Recommends: readline-doc = %{version} @@ -162,7 +164,7 @@ Provides: readline:%{_infodir}/readline.info.gz PreReq: %install_info_prereq Version: 6.0 -Release: 2 +Release: 3 AutoReqProv: on %description -n readline-doc @@ -197,6 +199,8 @@ %patch14 -p0 -b .sigrestart %patch15 -p0 -b .longjmp %patch16 -p0 -b .setlocale +%patch17 -p0 -b .complete +%patch18 -p0 -b .parenthese %patch21 -p0 -b .zerotty %patch22 -p0 -b .wrap %patch23 -p0 -b .conf @@ -377,10 +381,12 @@ mkdir -p %{buildroot}%{_defaultdocdir}/bash chmod 0755 %{buildroot}/%{_lib}/libhistory.so.%{rl_vers} chmod 0755 %{buildroot}/%{_lib}/libreadline.so.%{rl_vers} - rm -f %{buildroot}/%{_lib}/libhistory.so.%{rl_vers}*old - rm -f %{buildroot}/%{_lib}/libreadline.so.%{rl_vers}*old - rm -f %{buildroot}/%{_lib}/libhistory.so - rm -f %{buildroot}/%{_lib}/libreadline.so + rm -vf %{buildroot}/%{_lib}/libhistory.so.%{rl_vers}*old + rm -vf %{buildroot}/%{_lib}/libreadline.so.%{rl_vers}*old + rm -vf %{buildroot}/%{_lib}/libhistory.so + rm -vf %{buildroot}/%{_lib}/libreadline.so + ln -sf /%{_lib}/libhistory.so.%{rl_vers} %{buildroot}/%{_libdir}/libhistory.so + ln -sf /%{_lib}/libreadline.so.%{rl_vers} %{buildroot}/%{_libdir}/libreadline.so cd ../bash-%{bash_vers} make install DESTDIR=%{buildroot} mkdir -p %{buildroot}/bin @@ -503,6 +509,13 @@ %doc %{_defaultdocdir}/readline/ %changelog +* Wed Mar 04 2009 werner@suse.de +- My last patch for bnc#470548 send to bug-bash@gnu.org was not + fully applied and this had caused a memory corruption on tab + completion. +- Enable the parser to find closing parenthesis at the end of + an argument of a command even if backslash is used (bnc#481817) +- Correct link of shared libraries of devel readline package * Fri Feb 27 2009 werner@suse.de - Update bash 4.0 to patch level 0 - Update readline 6.0 to patch level 0 ++++++ bash-4.0-complete.dif ++++++ --- pcomplete.c +++ pcomplete.c 2009-03-04 11:58:05.296254166 +0000 @@ -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); ++++++ bash-4.0-parenthese.dif ++++++ --- parse.y +++ parse.y 2009-03-04 13:05:43.128904662 +0000 @@ -3420,6 +3420,11 @@ eof_error: RESIZE_MALLOCED_BUFFER (ret, retind, 2, retsize, 64); if MBTEST(ch == CTLESC || ch == CTLNUL) ret[retind++] = CTLESC; + else if MBTEST(ch == close && (tflags & LEX_INCASE) == 0) +{ + count--; +/*itrace("parse_comsub:%d: found close: count = %d", line_number, count);*/ +} ret[retind++] = ch; continue; } ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org