3
if [ $# -eq 3 -a "$2" = '-d' ]; then
5
elif [ $# -ne 1 ]; then
6
echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
10
-patch) patch $pdir -f --no-backup-if-mismatch -p0 < $0;;
11
-unpatch) patch $pdir -f --no-backup-if-mismatch -R -p0 < $0;;
13
echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
18
# DP: bash-3.2 upstream patch bash32-008
26
Bug-Reported-by: Linda Walsh <bash@tlinx.org>
27
Bug-Reference-ID: <456041FD.8000605@tlinx.org>
28
Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2006-11/msg00040.html
32
When checking pathnames from the command hash table (e.g., when the `checkhash'
33
shell option is enabled), a bug causes bash to delete and re-lookup each
38
*** ../bash-3.2-patched/findcmd.c Wed Aug 17 16:49:54 2005
39
--- findcmd.c Fri Nov 24 10:48:37 2006
43
st = file_status (hashed_file);
44
! if ((st ^ (FS_EXISTS | FS_EXECABLE)) != 0)
46
phash_remove (pathname);
49
st = file_status (hashed_file);
50
! if ((st & (FS_EXISTS|FS_EXECABLE)) != (FS_EXISTS|FS_EXECABLE))
52
phash_remove (pathname);
53
*** ../bash-3.2/patchlevel.h Thu Apr 13 08:31:04 2006
54
--- patchlevel.h Mon Oct 16 14:22:54 2006
57
looks for to find the patch level (for the sccs version string). */
59
! #define PATCHLEVEL 7
61
#endif /* _PATCHLEVEL_H_ */
63
looks for to find the patch level (for the sccs version string). */
65
! #define PATCHLEVEL 8
67
#endif /* _PATCHLEVEL_H_ */