[c5c522c] | 1 | BASH PATCH REPORT |
---|
| 2 | ================= |
---|
| 3 | |
---|
| 4 | Bash-Release: 4.3 |
---|
| 5 | Patch-ID: bash43-038 |
---|
| 6 | |
---|
| 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 | |
---|
| 11 | Bug-Description: |
---|
| 12 | |
---|
| 13 | There are a number of instances where `time' is not recognized as a reserved |
---|
| 14 | word when the shell grammar says it should be. |
---|
| 15 | |
---|
| 16 | Patch (apply with `patch -p0'): |
---|
| 17 | |
---|
| 18 | *** ../bash-4.3-patched/parse.y 2014-04-07 11:56:12.000000000 -0400 |
---|
| 19 | --- parse.y 2014-06-11 10:25:53.000000000 -0400 |
---|
| 20 | *************** |
---|
| 21 | *** 2819,2827 **** |
---|
| 22 | case OR_OR: |
---|
| 23 | case '&': |
---|
| 24 | case DO: |
---|
| 25 | case THEN: |
---|
| 26 | case ELSE: |
---|
| 27 | case '{': /* } */ |
---|
| 28 | ! case '(': /* ) */ |
---|
| 29 | case BANG: /* ! time pipeline */ |
---|
| 30 | case TIME: /* time time pipeline */ |
---|
| 31 | --- 2819,2832 ---- |
---|
| 32 | case OR_OR: |
---|
| 33 | case '&': |
---|
| 34 | + case WHILE: |
---|
| 35 | case DO: |
---|
| 36 | + case UNTIL: |
---|
| 37 | + case IF: |
---|
| 38 | case THEN: |
---|
| 39 | + case ELIF: |
---|
| 40 | case ELSE: |
---|
| 41 | case '{': /* } */ |
---|
| 42 | ! case '(': /* )( */ |
---|
| 43 | ! case ')': /* only valid in case statement */ |
---|
| 44 | case BANG: /* ! time pipeline */ |
---|
| 45 | case TIME: /* time time pipeline */ |
---|
| 46 | *** ../bash-4.3-patched/y.tab.c 2014-10-05 13:52:50.000000000 -0400 |
---|
| 47 | --- y.tab.c 2015-05-19 15:08:43.000000000 -0400 |
---|
| 48 | *************** |
---|
| 49 | *** 5131,5139 **** |
---|
| 50 | case OR_OR: |
---|
| 51 | case '&': |
---|
| 52 | case DO: |
---|
| 53 | case THEN: |
---|
| 54 | case ELSE: |
---|
| 55 | case '{': /* } */ |
---|
| 56 | ! case '(': /* ) */ |
---|
| 57 | case BANG: /* ! time pipeline */ |
---|
| 58 | case TIME: /* time time pipeline */ |
---|
| 59 | --- 5131,5144 ---- |
---|
| 60 | case OR_OR: |
---|
| 61 | case '&': |
---|
| 62 | + case WHILE: |
---|
| 63 | case DO: |
---|
| 64 | + case UNTIL: |
---|
| 65 | + case IF: |
---|
| 66 | case THEN: |
---|
| 67 | + case ELIF: |
---|
| 68 | case ELSE: |
---|
| 69 | case '{': /* } */ |
---|
| 70 | ! case '(': /* )( */ |
---|
| 71 | ! case ')': /* only valid in case statement */ |
---|
| 72 | case BANG: /* ! time pipeline */ |
---|
| 73 | case TIME: /* time time pipeline */ |
---|
| 74 | *** ../bash-4.3/patchlevel.h 2012-12-29 10:47:57.000000000 -0500 |
---|
| 75 | --- patchlevel.h 2014-03-20 20:01:28.000000000 -0400 |
---|
| 76 | *************** |
---|
| 77 | *** 26,30 **** |
---|
| 78 | looks for to find the patch level (for the sccs version string). */ |
---|
| 79 | |
---|
| 80 | ! #define PATCHLEVEL 37 |
---|
| 81 | |
---|
| 82 | #endif /* _PATCHLEVEL_H_ */ |
---|
| 83 | --- 26,30 ---- |
---|
| 84 | looks for to find the patch level (for the sccs version string). */ |
---|
| 85 | |
---|
| 86 | ! #define PATCHLEVEL 38 |
---|
| 87 | |
---|
| 88 | #endif /* _PATCHLEVEL_H_ */ |
---|