
Hello community, here is the log from the commit of package bash checked in at Fri Dec 15 18:03:57 CET 2006. -------- --- bash/bash.changes 2006-12-06 21:10:51.000000000 +0100 +++ /mounts/work_src_done/STABLE/bash/bash.changes 2006-12-14 13:10:39.000000000 +0100 @@ -1,0 +2,5 @@ +Thu Dec 14 13:10:30 CET 2006 - werner@suse.de + +- Update to bash 3.2 patch level 9 + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ bash.spec ++++++ --- /var/tmp/diff_new_pack.x4rv6b/_old 2006-12-15 18:02:55.000000000 +0100 +++ /var/tmp/diff_new_pack.x4rv6b/_new 2006-12-15 18:02:55.000000000 +0100 @@ -16,7 +16,7 @@ Requires: readline >= 5.2 Autoreqprov: on Version: 3.2 -Release: 2 +Release: 5 %define bash_vers 3.2 %define rl_vers 5.2 Summary: The GNU Bourne-Again Shell @@ -30,14 +30,14 @@ Patch1: bash-2.03-manual.patch Patch2: bash-2.05a-security.patch Patch3: bash-3.2-2.4.4.patch -Patch5: bash-3.0-evalexp.patch -Patch6: bash-3.0-warn-locale.patch -Patch7: bash-3.0-nfs_redir.patch -Patch8: bash-3.0-decl.patch -Patch9: bash-3.1-random.patch -Patch10: bash-3.1-extended_quote.patch -Patch12: bash-3.2-printf.patch -Patch13: bash-3.1-loadables.dif +Patch4: bash-3.0-evalexp.patch +Patch5: bash-3.0-warn-locale.patch +Patch6: bash-3.0-nfs_redir.patch +Patch7: bash-3.0-decl.patch +Patch8: bash-3.1-random.patch +Patch9: bash-3.1-extended_quote.patch +Patch10: bash-3.2-printf.patch +Patch11: bash-3.1-loadables.dif Patch20: readline-%{rl_vers}.dif Patch21: readline-4.3-input.dif Patch22: readline-5.2-wrap.patch @@ -64,7 +64,7 @@ Group: System/Libraries Provides: bash:/lib/libreadline.so.5 Version: 5.2 -Release: 2 +Release: 5 Autoreqprov: on %description -n readline @@ -84,7 +84,7 @@ Group: Development/Libraries/C and C++ Provides: bash:/usr/lib/libreadline.a Version: 5.2 -Release: 2 +Release: 5 Requires: readline = %{version}-%{release}, %{_libdir}/libncurses.so Autoreqprov: on @@ -110,16 +110,22 @@ %patch1 -p0 -b .manual %patch2 -p0 -b .security %patch3 -p0 -b .2.4.4 -%patch5 -p0 -b .evalexp -%patch6 -p0 -b .warnlc -%patch7 -p0 -b .nfs_redir -%patch8 -p0 -b .decl -%patch9 -p1 -b .random2 -%patch10 -p0 -b .extended_quote -%patch12 -p0 -b .printf -%patch13 -p0 -b .plugins +%patch4 -p0 -b .evalexp +%patch5 -p0 -b .warnlc +%patch6 -p0 -b .nfs_redir +%patch7 -p0 -b .decl +%patch8 -p1 -b .random2 +%patch9 -p0 -b .extended_quote +%patch10 -p0 -b .printf +%patch11 -p0 -b .plugins for p in ../readline-%{rl_vers}-patches/*; do test -e $p || break + case "${p##*/}" in + readline52-001) + echo Patch ${p##*/} already part of bash32-006 + continue + ;; + esac echo Patch $p patch -d lib/readline/ -s -p0 < $p done @@ -141,11 +147,13 @@ %patch20 -p0 %build - LC_ALL=C + LANG=POSIX + LC_ALL=$LANG + unset LC_CTYPE CPU=$(uname -m 2> /dev/null) HOSTTYPE=${CPU} MACHTYPE=${CPU}-suse-linux - export LC_ALL POSIX HOSTTYPE MACHTYPE + export LANG LC_ALL HOSTTYPE MACHTYPE cd ../readline-%{rl_vers} %{?suse_update_config:%{suse_update_config -f support}} CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE -DRECYCLES_PIDS -Wall -pipe -g" @@ -318,6 +326,8 @@ %doc %{_mandir}/man3/readline.3.gz %changelog -n bash +* Thu Dec 14 2006 - werner@suse.de +- Update to bash 3.2 patch level 9 * Wed Dec 06 2006 - schwab@suse.de - Remove obsolete patches. * Fri Nov 17 2006 - werner@suse.de ++++++ bash-3.2-patches.tar.bz2 ++++++ diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/bash-3.2-patches/bash32-006 new/bash-3.2-patches/bash32-006 --- old/bash-3.2-patches/bash32-006 1970-01-01 01:00:00.000000000 +0100 +++ new/bash-3.2-patches/bash32-006 2006-12-12 21:38:00.000000000 +0100 @@ -0,0 +1,45 @@ + BASH PATCH REPORT + ================= + +Bash-Release: 3.2 +Patch-ID: bash32-006 + +Bug-Reported-by: ebb9@byu.net +Bug-Reference-ID: <45540862.9030900@byu.net> +Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2006-11/msg00017.html + http://lists.gnu.org/archive/html/bug-bash/2006-11/msg00016.html + +Bug-Description: + +In some cases, code that is intended to be used in the presence of multibyte +characters is called when no such characters are present, leading to incorrect +display position calculations and incorrect redisplay. + +Patch: + +*** ../bash-3.2-patched/lib/readline/display.c Thu Sep 14 14:20:12 2006 +--- lib/readline/display.c Mon Nov 13 17:55:57 2006 +*************** +*** 2381,2384 **** +--- 2409,2414 ---- + if (end <= start) + return 0; ++ if (MB_CUR_MAX == 1 || rl_byte_oriented) ++ return (end - start); + + memset (&ps, 0, sizeof (mbstate_t)); +*** ../bash-3.2/patchlevel.h Thu Apr 13 08:31:04 2006 +--- patchlevel.h Mon Oct 16 14:22:54 2006 +*************** +*** 26,30 **** + looks for to find the patch level (for the sccs version string). */ + +! #define PATCHLEVEL 5 + + #endif /* _PATCHLEVEL_H_ */ +--- 26,30 ---- + looks for to find the patch level (for the sccs version string). */ + +! #define PATCHLEVEL 6 + + #endif /* _PATCHLEVEL_H_ */ diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/bash-3.2-patches/bash32-007 new/bash-3.2-patches/bash32-007 --- old/bash-3.2-patches/bash32-007 1970-01-01 01:00:00.000000000 +0100 +++ new/bash-3.2-patches/bash32-007 2006-12-12 21:25:00.000000000 +0100 @@ -0,0 +1,55 @@ + BASH PATCH REPORT + ================= + +Bash-Release: 3.2 +Patch-ID: bash32-007 + +Bug-Reported-by: jidanni@jidanni.org +Bug-Reference-ID: <E1Gkg12-00017D-Fm@jidanni.org> +Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2006-11/msg00039.html + +Bug-Description: + +When removing the current or previous job from the jobs list, bash incorrectly +resets the current job under some circumstances. + +Patch: + +*** ../bash-3.2-patched/jobs.c Sat Jul 29 16:40:48 2006 +--- jobs.c Fri Nov 24 14:50:01 2006 +*************** +*** 985,990 **** + if (temp == 0) + return; +- if (job_index == js.j_current || job_index == js.j_previous) +- reset_current (); + + if ((dflags & DEL_NOBGPID) == 0) +--- 985,988 ---- +*************** +*** 1029,1032 **** +--- 1027,1033 ---- + else if (jobs[js.j_firstj] == 0 || jobs[js.j_lastj] == 0) + reset_job_indices (); ++ ++ if (job_index == js.j_current || job_index == js.j_previous) ++ reset_current (); + } + +*** ../bash-3.2/patchlevel.h Thu Apr 13 08:31:04 2006 +--- patchlevel.h Mon Oct 16 14:22:54 2006 +*************** +*** 26,30 **** + looks for to find the patch level (for the sccs version string). */ + +! #define PATCHLEVEL 6 + + #endif /* _PATCHLEVEL_H_ */ +--- 26,30 ---- + looks for to find the patch level (for the sccs version string). */ + +! #define PATCHLEVEL 7 + + #endif /* _PATCHLEVEL_H_ */ + + diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/bash-3.2-patches/bash32-008 new/bash-3.2-patches/bash32-008 --- old/bash-3.2-patches/bash32-008 1970-01-01 01:00:00.000000000 +0100 +++ new/bash-3.2-patches/bash32-008 2006-12-12 21:37:00.000000000 +0100 @@ -0,0 +1,48 @@ + BASH PATCH REPORT + ================= + +Bash-Release: 3.2 +Patch-ID: bash32-008 + +Bug-Reported-by: Linda Walsh <bash@tlinx.org> +Bug-Reference-ID: <456041FD.8000605@tlinx.org> +Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2006-11/msg00040.html + +Bug-Description: + +When checking pathnames from the command hash table (e.g., when the `checkhash' +shell option is enabled), a bug causes bash to delete and re-lookup each +command. + +Patch: + +*** ../bash-3.2-patched/findcmd.c Wed Aug 17 16:49:54 2005 +--- findcmd.c Fri Nov 24 10:48:37 2006 +*************** +*** 309,313 **** + { + st = file_status (hashed_file); +! if ((st ^ (FS_EXISTS | FS_EXECABLE)) != 0) + { + phash_remove (pathname); +--- 309,313 ---- + { + st = file_status (hashed_file); +! if ((st & (FS_EXISTS|FS_EXECABLE)) != (FS_EXISTS|FS_EXECABLE)) + { + phash_remove (pathname); +*** ../bash-3.2/patchlevel.h Thu Apr 13 08:31:04 2006 +--- patchlevel.h Mon Oct 16 14:22:54 2006 +*************** +*** 26,30 **** + looks for to find the patch level (for the sccs version string). */ + +! #define PATCHLEVEL 7 + + #endif /* _PATCHLEVEL_H_ */ +--- 26,30 ---- + looks for to find the patch level (for the sccs version string). */ + +! #define PATCHLEVEL 8 + + #endif /* _PATCHLEVEL_H_ */ diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/bash-3.2-patches/bash32-009 new/bash-3.2-patches/bash32-009 --- old/bash-3.2-patches/bash32-009 1970-01-01 01:00:00.000000000 +0100 +++ new/bash-3.2-patches/bash32-009 2006-12-12 21:37:00.000000000 +0100 @@ -0,0 +1,61 @@ + BASH PATCH REPORT + ================= + +Bash-Release: 3.2 +Patch-ID: bash32-009 + +Bug-Reported-by: James.M.Botte@lowes.com +Bug-Reference-ID: <BA9FF90F7E5B424998F98EDA9F1F94BE01FA9853@msexchdb01.lowes.com> +Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2006-12/msg00000.html + +Bug-Description: + +When using its built-in replacement for snprintf/asprintf, bash does not +treat the %x, %X, and %o format specifiers as unsigned numbers. + +Patch: + +*** ../bash-3.2-patched/lib/sh/snprintf.c Mon Nov 13 08:58:52 2006 +--- lib/sh/snprintf.c Wed Dec 6 11:15:04 2006 +*************** +*** 669,673 **** + + sd = d; /* signed for ' ' padding in base 10 */ +! flags = (*p->pf == 'u' || *p->pf == 'U') ? FL_UNSIGNED : 0; + if (*p->pf == 'X') + flags |= FL_HEXUPPER; +--- 674,679 ---- + + sd = d; /* signed for ' ' padding in base 10 */ +! flags = 0; +! flags = (*p->pf == 'x' || *p->pf == 'X' || *p->pf == 'o' || *p->pf == 'u' || *p->pf == 'U') ? FL_UNSIGNED : 0; + if (*p->pf == 'X') + flags |= FL_HEXUPPER; +*************** +*** 739,743 **** + + sd = d; /* signed for ' ' padding in base 10 */ +! flags = (*p->pf == 'u' || *p->pf == 'U') ? FL_UNSIGNED : 0; + if (*p->pf == 'X') + flags |= FL_HEXUPPER; +--- 745,749 ---- + + sd = d; /* signed for ' ' padding in base 10 */ +! flags = (*p->pf == 'x' || *p->pf == 'X' || *p->pf == 'o' || *p->pf == 'u' || *p->pf == 'U') ? FL_UNSIGNED : 0; + if (*p->pf == 'X') + flags |= FL_HEXUPPER; +*** ../bash-3.2/patchlevel.h Thu Apr 13 08:31:04 2006 +--- patchlevel.h Mon Oct 16 14:22:54 2006 +*************** +*** 26,30 **** + looks for to find the patch level (for the sccs version string). */ + +! #define PATCHLEVEL 8 + + #endif /* _PATCHLEVEL_H_ */ +--- 26,30 ---- + looks for to find the patch level (for the sccs version string). */ + +! #define PATCHLEVEL 9 + + #endif /* _PATCHLEVEL_H_ */ ++++++ bash-3.2.dif ++++++ --- /var/tmp/diff_new_pack.x4rv6b/_old 2006-12-15 18:02:58.000000000 +0100 +++ /var/tmp/diff_new_pack.x4rv6b/_new 2006-12-15 18:02:58.000000000 +0100 @@ -1,19 +1,18 @@ --- .pkgextract +++ .pkgextract 2006-03-27 14:15:25.000000000 +0200 -@@ -0,0 +1,16 @@ +@@ -0,0 +1,14 @@ +tar Oxfj ../bash-3.2-patches.tar.bz2 | patch -p0 -s +patch -p0 -s --suffix=".manual" < ../bash-2.03-manual.patch +patch -p0 -s --suffix=".security" < ../bash-2.05a-security.patch +patch -p0 -s --suffix=".2.4.4" < ../bash-3.2-2.4.4.patch -+patch -p0 -s --suffix=".directory"< ../bash-3.1-directory.patch +patch -p0 -s --suffix=".evalexp" < ../bash-3.0-evalexp.patch +patch -p0 -s --suffix=".warnlc" < ../bash-3.0-warn-locale.patch +patch -p0 -s --suffix=".nfs_redir"< ../bash-3.0-nfs_redir.patch +patch -p0 -s --suffix=".decl" < ../bash-3.0-decl.patch +patch -p1 -s --suffix=".random2" < ../bash-3.1-random.patch +patch -p0 -s --suffix=".equote" < ../bash-3.1-extended_quote.patch -+patch -p0 -s --suffix=".wcschr" < ../bash-3.2-wcschr.dif -+patch -p0 -s --suffix=".loadable" < ../bash-3.1-loadables.dif ++patch -p0 -s --suffix=".printf" < ../bash-3.2-printf.patch ++patch -p0 -s --suffix=".plugins" < ../bash-3.1-loadables.dif +patch -p0 -s --suffix=".zerotty" < ../readline-4.3-input.dif +patch -p0 -s --suffix=".wrap" < ../readline-5.2-wrap.patch +patch -p0 -s --suffix=".conf" < ../readline-5.2-conf.patch ++++++ readline-5.2-patches.tar.bz2 ++++++ diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/readline-5.2-patches/readline52-001 new/readline-5.2-patches/readline52-001 --- old/readline-5.2-patches/readline52-001 1970-01-01 01:00:00.000000000 +0100 +++ new/readline-5.2-patches/readline52-001 2006-12-12 21:25:00.000000000 +0100 @@ -0,0 +1,30 @@ + READLINE PATCH REPORT + ===================== + +Readline-Release: 5.2 +Patch-ID: readline52-001 + +Bug-Reported-by: ebb9@byu.net +Bug-Reference-ID: <45540862.9030900@byu.net> +Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2006-11/msg00017.html + http://lists.gnu.org/archive/html/bug-bash/2006-11/msg00016.html + +Bug-Description: + +In some cases, code that is intended to be used in the presence of multibyte +characters is called when no such characters are present, leading to incorrect +display position calculations and incorrect redisplay. + +Patch: + +*** ../readline-5.2/display.c Thu Sep 14 14:20:12 2006 +--- display.c Mon Nov 13 17:55:57 2006 +*************** +*** 2381,2384 **** +--- 2409,2414 ---- + if (end <= start) + return 0; ++ if (MB_CUR_MAX == 1 || rl_byte_oriented) ++ return (end - start); + + memset (&ps, 0, sizeof (mbstate_t)); ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@suse.de