0038-patchlevel-38.patch 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. From http://ftp.gnu.org/pub/gnu/bash/bash-4.3-patches/bash43-038
  2. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
  3. BASH PATCH REPORT
  4. =================
  5. Bash-Release: 4.3
  6. Patch-ID: bash43-038
  7. Bug-Reported-by: worley@alum.mit.edu (Dale R. Worley)
  8. Bug-Reference-ID: <201406100051.s5A0pCeB014978@hobgoblin.ariadne.com>
  9. Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2014-06/msg00028.html
  10. Bug-Description:
  11. There are a number of instances where `time' is not recognized as a reserved
  12. word when the shell grammar says it should be.
  13. Patch (apply with `patch -p0'):
  14. *** a/bash-4.3-patched/parse.y 2014-04-07 11:56:12.000000000 -0400
  15. --- b/parse.y 2014-06-11 10:25:53.000000000 -0400
  16. ***************
  17. *** 2819,2827 ****
  18. case OR_OR:
  19. case '&':
  20. case DO:
  21. case THEN:
  22. case ELSE:
  23. case '{': /* } */
  24. ! case '(': /* ) */
  25. case BANG: /* ! time pipeline */
  26. case TIME: /* time time pipeline */
  27. --- 2819,2832 ----
  28. case OR_OR:
  29. case '&':
  30. + case WHILE:
  31. case DO:
  32. + case UNTIL:
  33. + case IF:
  34. case THEN:
  35. + case ELIF:
  36. case ELSE:
  37. case '{': /* } */
  38. ! case '(': /* )( */
  39. ! case ')': /* only valid in case statement */
  40. case BANG: /* ! time pipeline */
  41. case TIME: /* time time pipeline */
  42. *** a/bash-4.3-patched/y.tab.c 2014-10-05 13:52:50.000000000 -0400
  43. --- b/y.tab.c 2015-05-19 15:08:43.000000000 -0400
  44. ***************
  45. *** 5131,5139 ****
  46. case OR_OR:
  47. case '&':
  48. case DO:
  49. case THEN:
  50. case ELSE:
  51. case '{': /* } */
  52. ! case '(': /* ) */
  53. case BANG: /* ! time pipeline */
  54. case TIME: /* time time pipeline */
  55. --- 5131,5144 ----
  56. case OR_OR:
  57. case '&':
  58. + case WHILE:
  59. case DO:
  60. + case UNTIL:
  61. + case IF:
  62. case THEN:
  63. + case ELIF:
  64. case ELSE:
  65. case '{': /* } */
  66. ! case '(': /* )( */
  67. ! case ')': /* only valid in case statement */
  68. case BANG: /* ! time pipeline */
  69. case TIME: /* time time pipeline */
  70. *** a/bash-4.3/patchlevel.h 2012-12-29 10:47:57.000000000 -0500
  71. --- b/patchlevel.h 2014-03-20 20:01:28.000000000 -0400
  72. ***************
  73. *** 26,30 ****
  74. looks for to find the patch level (for the sccs version string). */
  75. ! #define PATCHLEVEL 37
  76. #endif /* _PATCHLEVEL_H_ */
  77. --- 26,30 ----
  78. looks for to find the patch level (for the sccs version string). */
  79. ! #define PATCHLEVEL 38
  80. #endif /* _PATCHLEVEL_H_ */