393b612
			     BASH PATCH REPORT
393b612
			     =================
393b612
393b612
Bash-Release: 3.2
393b612
Patch-ID: bash32-008
393b612
393b612
Bug-Reported-by:	Linda Walsh <bash@tlinx.org>
393b612
Bug-Reference-ID:	<456041FD.8000605@tlinx.org>
393b612
Bug-Reference-URL:	http://lists.gnu.org/archive/html/bug-bash/2006-11/msg00040.html
393b612
393b612
Bug-Description:
393b612
393b612
When checking pathnames from the command hash table (e.g., when the `checkhash'
393b612
shell option is enabled), a bug causes bash to delete and re-lookup each
393b612
command.
393b612
393b612
Patch:
393b612
393b612
*** ../bash-3.2-patched/findcmd.c	Wed Aug 17 16:49:54 2005
393b612
--- findcmd.c	Fri Nov 24 10:48:37 2006
393b612
***************
393b612
*** 309,313 ****
393b612
      {
393b612
        st = file_status (hashed_file);
393b612
!       if ((st ^ (FS_EXISTS | FS_EXECABLE)) != 0)
393b612
  	{
393b612
  	  phash_remove (pathname);
393b612
--- 309,313 ----
393b612
      {
393b612
        st = file_status (hashed_file);
393b612
!       if ((st & (FS_EXISTS|FS_EXECABLE)) != (FS_EXISTS|FS_EXECABLE))
393b612
  	{
393b612
  	  phash_remove (pathname);
393b612
*** ../bash-3.2/patchlevel.h	Thu Apr 13 08:31:04 2006
393b612
--- patchlevel.h	Mon Oct 16 14:22:54 2006
393b612
***************
393b612
*** 26,30 ****
393b612
     looks for to find the patch level (for the sccs version string). */
393b612
  
393b612
! #define PATCHLEVEL 7
393b612
  
393b612
  #endif /* _PATCHLEVEL_H_ */
393b612
--- 26,30 ----
393b612
     looks for to find the patch level (for the sccs version string). */
393b612
  
393b612
! #define PATCHLEVEL 8
393b612
  
393b612
  #endif /* _PATCHLEVEL_H_ */