bash-4.1-007.patch 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. BASH PATCH REPORT
  2. =================
  3. Bash-Release: 4.1
  4. Patch-ID: bash41-007
  5. Bug-Reported-by: Rob Robason <rob@robason.net>
  6. Bug-Reference-ID: <1269513145.22336.9.camel@home.robason.homelinux.net>
  7. Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2010-03/msg00089.html
  8. Bug-Description:
  9. A typo caused bash to not honor a precision specification in a printf
  10. format.
  11. Patch (apply with `patch -p0'):
  12. *** ../bash-4.1-patched/builtins/printf.def 2010-01-18 10:50:22.000000000 -0500
  13. --- ./builtins/printf.def 2010-03-25 09:40:56.000000000 -0400
  14. ***************
  15. *** 118,122 ****
  16. nw = vflag ? vbprintf (f, fieldwidth, func) : printf (f, fieldwidth, func); \
  17. else if (have_precision) \
  18. ! nw = vflag ? vbprintf (f, precision, func) : printf (f, fieldwidth, func); \
  19. else \
  20. nw = vflag ? vbprintf (f, func) : printf (f, func); \
  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, precision, func); \
  25. else \
  26. nw = vflag ? vbprintf (f, func) : printf (f, func); \
  27. *** ../bash-4.1-patched/patchlevel.h 2009-10-01 16:39:22.000000000 -0400
  28. --- ./patchlevel.h 2010-01-14 09:38:08.000000000 -0500
  29. ***************
  30. *** 26,30 ****
  31. looks for to find the patch level (for the sccs version string). */
  32. ! #define PATCHLEVEL 6
  33. #endif /* _PATCHLEVEL_H_ */
  34. --- 26,30 ----
  35. looks for to find the patch level (for the sccs version string). */
  36. ! #define PATCHLEVEL 7
  37. #endif /* _PATCHLEVEL_H_ */