bash51-013 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. BASH PATCH REPORT
  2. =================
  3. Bash-Release: 5.1
  4. Patch-ID: bash51-013
  5. Bug-Reported-by: Anders Kaseorg <andersk@mit.edu>
  6. Bug-Reference-ID: <de65540274064d7b95f17e9c46a3a6d8@oc11expo7.exchange.mit.edu>
  7. Bug-Reference-URL: https://lists.gnu.org/archive/html/bug-bash/2021-11/msg00025.html
  8. Bug-Description:
  9. Bash did not always perform tilde expansion following an unquoted colon on
  10. the rhs of an assignment statement in posix mode.
  11. Patch (apply with `patch -p0'):
  12. *** ../bash-20211028/subst.c 2021-10-18 16:09:58.000000000 -0400
  13. --- subst.c 2021-11-30 11:19:47.000000000 -0500
  14. ***************
  15. *** 3826,3829 ****
  16. --- 3826,3830 ----
  17. td.flags = W_ASSIGNRHS;
  18. #endif
  19. + td.flags |= (W_NOGLOB|W_TILDEEXP);
  20. td.word = savestring (string);
  21. value = call_expand_word_internal (&td, quoted, 0, (int *)NULL, (int *)NULL);
  22. *** ../bash-5.1/patchlevel.h 2020-06-22 14:51:03.000000000 -0400
  23. --- patchlevel.h 2020-10-01 11:01:28.000000000 -0400
  24. ***************
  25. *** 26,30 ****
  26. looks for to find the patch level (for the sccs version string). */
  27. ! #define PATCHLEVEL 12
  28. #endif /* _PATCHLEVEL_H_ */
  29. --- 26,30 ----
  30. looks for to find the patch level (for the sccs version string). */
  31. ! #define PATCHLEVEL 13
  32. #endif /* _PATCHLEVEL_H_ */