diff options
author | George Sherwood | 2006-12-31 10:16:41 +0400 |
---|---|---|
committer | George Sherwood | 2006-12-31 10:16:41 +0400 |
commit | 1c9e652103c9774590a8f9465cdc6acc58f53942 (patch) | |
tree | 84a1c40633452a8598262c59e2856fba9a3afd74 | |
parent | fb19e1f9eb9197008901c834b1edaa7c69555409 (diff) |
bash: Updated to patch 009.
-rwxr-xr-x | shell-term-fm/bash/DETAILS | 2 | ||||
-rw-r--r-- | shell-term-fm/bash/HISTORY | 10 | ||||
-rwxr-xr-x | shell-term-fm/bash/PRE_BUILD | 6 | ||||
-rw-r--r-- | shell-term-fm/bash/patches/bash32-006 | 45 | ||||
-rw-r--r-- | shell-term-fm/bash/patches/bash32-007 | 55 | ||||
-rw-r--r-- | shell-term-fm/bash/patches/bash32-008 | 48 | ||||
-rw-r--r-- | shell-term-fm/bash/patches/bash32-009 | 61 |
7 files changed, 224 insertions, 3 deletions
diff --git a/shell-term-fm/bash/DETAILS b/shell-term-fm/bash/DETAILS index 67ec26dc27..ffff2bec5d 100755 --- a/shell-term-fm/bash/DETAILS +++ b/shell-term-fm/bash/DETAILS @@ -13,7 +13,7 @@ SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION SOURCE2_GPG="gnu.gpg:${SOURCE2}.sig" WEB_SITE=http://cnswww.cns.cwru.edu/~chet/bash/bashtop.html ENTERED=20010922 - PATCHLEVEL=11 + PATCHLEVEL=12 LICENSE[0]=GPL2 KEYWORDS="console" SHORT="Bourne Again SHell for the GNU operating system" diff --git a/shell-term-fm/bash/HISTORY b/shell-term-fm/bash/HISTORY index 5d1148d0bd..e0a78c974a 100644 --- a/shell-term-fm/bash/HISTORY +++ b/shell-term-fm/bash/HISTORY @@ -1,5 +1,13 @@ +2006-12-31 George Sherwood <george@beernabeer.com> + * DETAILS: Updated PATCHLEVEL + * PRE_BUILD: Updated to patches bash31-006,007,008,009 + * bash32-006: Added. ftp://ftp.cwru.edu/pub/bash/bash-3.2-patches + * bash32-007: Added. ftp://ftp.cwru.edu/pub/bash/bash-3.2-patches + * bash32-008: Added. ftp://ftp.cwru.edu/pub/bash/bash-3.2-patches + * bash32-009: Added. ftp://ftp.cwru.edu/pub/bash/bash-3.2-patches + 2006-11-15 George Sherwood <george@beernabeer.com> - * DETAILS: Updted PATCHLEVEL + * DETAILS: Updated PATCHLEVEL * PRE_BUILD: Updated to patches bash31-004,005 * bash32-004: Added. ftp://ftp.cwru.edu/pub/bash/bash-3.2-patches * bash32-005: Added. ftp://ftp.cwru.edu/pub/bash/bash-3.2-patches diff --git a/shell-term-fm/bash/PRE_BUILD b/shell-term-fm/bash/PRE_BUILD index 8b78a87607..871eb43ec5 100755 --- a/shell-term-fm/bash/PRE_BUILD +++ b/shell-term-fm/bash/PRE_BUILD @@ -5,5 +5,9 @@ patch -p0 < $SCRIPT_DIRECTORY/patches/bash32-001 && patch -p0 < $SCRIPT_DIRECTORY/patches/bash32-002 && patch -p0 < $SCRIPT_DIRECTORY/patches/bash32-003 && patch -p0 < $SCRIPT_DIRECTORY/patches/bash32-004 && -patch -p0 < $SCRIPT_DIRECTORY/patches/bash32-005 +patch -p0 < $SCRIPT_DIRECTORY/patches/bash32-005 && +patch -p0 < $SCRIPT_DIRECTORY/patches/bash32-006 && +patch -p0 < $SCRIPT_DIRECTORY/patches/bash32-007 && +patch -p0 < $SCRIPT_DIRECTORY/patches/bash32-008 && +patch -p0 < $SCRIPT_DIRECTORY/patches/bash32-009 diff --git a/shell-term-fm/bash/patches/bash32-006 b/shell-term-fm/bash/patches/bash32-006 new file mode 100644 index 0000000000..589db9e598 --- /dev/null +++ b/shell-term-fm/bash/patches/bash32-006 @@ -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 --git a/shell-term-fm/bash/patches/bash32-007 b/shell-term-fm/bash/patches/bash32-007 new file mode 100644 index 0000000000..9b86f4af74 --- /dev/null +++ b/shell-term-fm/bash/patches/bash32-007 @@ -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 --git a/shell-term-fm/bash/patches/bash32-008 b/shell-term-fm/bash/patches/bash32-008 new file mode 100644 index 0000000000..7ec07ffe66 --- /dev/null +++ b/shell-term-fm/bash/patches/bash32-008 @@ -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 --git a/shell-term-fm/bash/patches/bash32-009 b/shell-term-fm/bash/patches/bash32-009 new file mode 100644 index 0000000000..9cfd16e948 --- /dev/null +++ b/shell-term-fm/bash/patches/bash32-009 @@ -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_ */ |