bash31-011 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. BASH PATCH REPORT
  2. =================
  3. Bash-Release: 3.1
  4. Patch-ID: bash31-011
  5. Bug-Reported-by: Mike Stroyan <mike.stroyan@hp.com>
  6. Bug-Reference-ID: <E1EvwxP-0004LD-GC@localhost.localdomain>
  7. Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2006-01/msg00033.html
  8. Bug-Description:
  9. A change in bash-3.1 caused the single quotes to be stripped from ANSI-C
  10. quoting inside double-quoted command substitutions.
  11. Patch:
  12. *** bash-3.1/parse.y Fri Nov 11 23:14:18 2005
  13. --- bash-3.1/parse.y Wed Jan 25 14:55:18 2006
  14. ***************
  15. *** 2908,2912 ****
  16. count--;
  17. if (ch == '(') /* ) */
  18. ! nestret = parse_matched_pair (0, '(', ')', &nestlen, rflags);
  19. else if (ch == '{') /* } */
  20. nestret = parse_matched_pair (0, '{', '}', &nestlen, P_FIRSTCLOSE|rflags);
  21. --- 2914,2918 ----
  22. count--;
  23. if (ch == '(') /* ) */
  24. ! nestret = parse_matched_pair (0, '(', ')', &nestlen, rflags & ~P_DQUOTE);
  25. else if (ch == '{') /* } */
  26. nestret = parse_matched_pair (0, '{', '}', &nestlen, P_FIRSTCLOSE|rflags);
  27. *** bash-3.1/patchlevel.h Wed Jul 20 13:58:20 2005
  28. --- bash-3.1/patchlevel.h Wed Dec 7 13:48:42 2005
  29. ***************
  30. *** 26,30 ****
  31. looks for to find the patch level (for the sccs version string). */
  32. ! #define PATCHLEVEL 10
  33. #endif /* _PATCHLEVEL_H_ */
  34. --- 26,30 ----
  35. looks for to find the patch level (for the sccs version string). */
  36. ! #define PATCHLEVEL 11
  37. #endif /* _PATCHLEVEL_H_ */