bash30-014 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. BASH PATCH REPORT
  2. =================
  3. Bash-Release: 3.0
  4. Patch-ID: bash30-014
  5. Bug-Reported-by: agriffis@gentoo.org
  6. Bug-Reference-ID: <20040929024759.A437FEB1E0@piment.flatmonk.org>
  7. Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2004-09/msg00250.html
  8. Bug-Description:
  9. #
  10. # BROKEN case: variable with braces inside quotes
  11. #
  12. $ D=W
  13. $ echo "${D}"{illy,onka} => W{illy,onka}
  14. Patch:
  15. *** ../bash-3.0-patched/braces.c Wed Sep 8 11:07:53 2004
  16. --- braces.c Fri Sep 17 18:42:36 2004
  17. ***************
  18. *** 403,407 ****
  19. pass_next = 1;
  20. i++;
  21. ! level++;
  22. continue;
  23. }
  24. --- 403,408 ----
  25. pass_next = 1;
  26. i++;
  27. ! if (quoted == 0)
  28. ! level++;
  29. continue;
  30. }
  31. *** ../bash-3.0-patched/patchlevel.h Wed Aug 22 08:05:39 2001
  32. --- patchlevel.h Thu Sep 2 15:04:32 2004
  33. ***************
  34. *** 26,30 ****
  35. looks for to find the patch level (for the sccs version string). */
  36. ! #define PATCHLEVEL 13
  37. #endif /* _PATCHLEVEL_H_ */
  38. --- 26,30 ----
  39. looks for to find the patch level (for the sccs version string). */
  40. ! #define PATCHLEVEL 14
  41. #endif /* _PATCHLEVEL_H_ */