bash52-020.patch 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. BASH PATCH REPORT
  2. =================
  3. Bash-Release: 5.2
  4. Patch-ID: bash52-020
  5. Bug-Reported-by: Dima Korobskiy <dkroot2@gmail.com>
  6. Bug-Reference-ID: <16664c2d-40ec-df33-b932-83db06e39a82@gmail.com>
  7. Bug-Reference-URL: https://lists.gnu.org/archive/html/bug-bash/2023-08/msg00125.html
  8. Bug-Description:
  9. The parser did not allow `time' to appear as the first reserved word in a
  10. command substitution.
  11. Patch (apply with `patch -p0'):
  12. *** ../bash-5.2-patched/parse.y Tue Dec 13 12:53:21 2022
  13. --- parse.y Fri Sep 1 10:36:28 2023
  14. ***************
  15. *** 3151,3154 ****
  16. --- 3151,3155 ----
  17. case TIMEOPT: /* time -p time pipeline */
  18. case TIMEIGN: /* time -p -- ... */
  19. + case DOLPAREN:
  20. return 1;
  21. default:
  22. *** ../bash-5.2-patched/y.tab.c Tue Dec 13 12:53:21 2022
  23. --- y.tab.c Fri Sep 1 10:36:44 2023
  24. ***************
  25. *** 5466,5469 ****
  26. --- 5466,5470 ----
  27. case TIMEOPT: /* time -p time pipeline */
  28. case TIMEIGN: /* time -p -- ... */
  29. + case DOLPAREN:
  30. return 1;
  31. default:
  32. *** ../bash-5.2/patchlevel.h 2020-06-22 14:51:03.000000000 -0400
  33. --- patchlevel.h 2020-10-01 11:01:28.000000000 -0400
  34. ***************
  35. *** 26,30 ****
  36. looks for to find the patch level (for the sccs version string). */
  37. ! #define PATCHLEVEL 19
  38. #endif /* _PATCHLEVEL_H_ */
  39. --- 26,30 ----
  40. looks for to find the patch level (for the sccs version string). */
  41. ! #define PATCHLEVEL 20
  42. #endif /* _PATCHLEVEL_H_ */