components/bash/bash41-007.patch
changeset 110 77641682ba6f
equal deleted inserted replaced
109:07cc6a1a08ad 110:77641682ba6f
       
     1 			     BASH PATCH REPORT
       
     2 			     =================
       
     3 
       
     4 Bash-Release:	4.1
       
     5 Patch-ID:	bash41-007
       
     6 
       
     7 Bug-Reported-by:	Rob Robason <[email protected]>
       
     8 Bug-Reference-ID:	<[email protected]>
       
     9 Bug-Reference-URL:	http://lists.gnu.org/archive/html/bug-bash/2010-03/msg00089.html
       
    10 
       
    11 Bug-Description:
       
    12 
       
    13 A typo caused bash to not honor a precision specification in a printf
       
    14 format.
       
    15 
       
    16 Patch (apply with `patch -p0'):
       
    17 
       
    18 *** ../bash-4.1-patched/builtins/printf.def	2010-01-18 10:50:22.000000000 -0500
       
    19 --- builtins/printf.def	2010-03-25 09:40:56.000000000 -0400
       
    20 ***************
       
    21 *** 118,122 ****
       
    22         nw = vflag ? vbprintf (f, fieldwidth, func) : printf (f, fieldwidth, func); \
       
    23       else if (have_precision) \
       
    24 !       nw = vflag ? vbprintf (f, precision, func) : printf (f, fieldwidth, func); \
       
    25       else \
       
    26         nw = vflag ? vbprintf (f, func) : printf (f, func); \
       
    27 --- 118,122 ----
       
    28         nw = vflag ? vbprintf (f, fieldwidth, func) : printf (f, fieldwidth, func); \
       
    29       else if (have_precision) \
       
    30 !       nw = vflag ? vbprintf (f, precision, func) : printf (f, precision, func); \
       
    31       else \
       
    32         nw = vflag ? vbprintf (f, func) : printf (f, func); \
       
    33 *** ../bash-4.1-patched/patchlevel.h	2009-10-01 16:39:22.000000000 -0400
       
    34 --- patchlevel.h	2010-01-14 09:38:08.000000000 -0500
       
    35 ***************
       
    36 *** 26,30 ****
       
    37      looks for to find the patch level (for the sccs version string). */
       
    38   
       
    39 ! #define PATCHLEVEL 6
       
    40   
       
    41   #endif /* _PATCHLEVEL_H_ */
       
    42 --- 26,30 ----
       
    43      looks for to find the patch level (for the sccs version string). */
       
    44   
       
    45 ! #define PATCHLEVEL 7
       
    46   
       
    47   #endif /* _PATCHLEVEL_H_ */