~ubuntu-branches/ubuntu/lucid/bash/lucid

« back to all changes in this revision

Viewing changes to debian/patches/bash32-008.dpatch

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2009-08-24 12:06:59 UTC
  • mfrom: (1.3.2 upstream) (2.1.5 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090824120659-gmp1uuy2w9k2st53
Tags: 4.0-4ubuntu1
* Merge with Debian; remaining changes:
  - Build from the upstream sources, build the documentation in info format.
  - /etc/skel/.bashrc: eval lesspipe.
* Changes to the skeleton .bashrc:
  - Source .bash_aliases after defining aliases. LP: #400686.
  - Enable color support for grep. LP: #386502.
* The bash docs now  describe uname -s not having any effect on many
  systems. LP: #378595.
* Don't ship an info dir file. LP: #358932.
* Fix some lintian warnings.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#! /bin/sh -e
2
 
 
3
 
if [ $# -eq 3 -a "$2" = '-d' ]; then
4
 
    pdir="-d $3"
5
 
elif [ $# -ne 1 ]; then
6
 
    echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
7
 
    exit 1
8
 
fi
9
 
case "$1" in
10
 
    -patch) patch $pdir -f --no-backup-if-mismatch -p0 < $0;;
11
 
    -unpatch) patch $pdir -f --no-backup-if-mismatch -R -p0 < $0;;
12
 
    *)
13
 
        echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
14
 
        exit 1
15
 
esac
16
 
exit 0
17
 
 
18
 
# DP: bash-3.2 upstream patch bash32-008
19
 
 
20
 
                             BASH PATCH REPORT
21
 
                             =================
22
 
 
23
 
Bash-Release: 3.2
24
 
Patch-ID: bash32-008
25
 
 
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
29
 
 
30
 
Bug-Description:
31
 
 
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
34
 
command.
35
 
 
36
 
Patch:
37
 
 
38
 
*** ../bash-3.2-patched/findcmd.c       Wed Aug 17 16:49:54 2005
39
 
--- findcmd.c   Fri Nov 24 10:48:37 2006
40
 
***************
41
 
*** 309,313 ****
42
 
      {
43
 
        st = file_status (hashed_file);
44
 
!       if ((st ^ (FS_EXISTS | FS_EXECABLE)) != 0)
45
 
        {
46
 
          phash_remove (pathname);
47
 
--- 309,313 ----
48
 
      {
49
 
        st = file_status (hashed_file);
50
 
!       if ((st & (FS_EXISTS|FS_EXECABLE)) != (FS_EXISTS|FS_EXECABLE))
51
 
        {
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
55
 
***************
56
 
*** 26,30 ****
57
 
     looks for to find the patch level (for the sccs version string). */
58
 
  
59
 
! #define PATCHLEVEL 7
60
 
  
61
 
  #endif /* _PATCHLEVEL_H_ */
62
 
--- 26,30 ----
63
 
     looks for to find the patch level (for the sccs version string). */
64
 
  
65
 
! #define PATCHLEVEL 8
66
 
  
67
 
  #endif /* _PATCHLEVEL_H_ */