]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blame - src/patches/bash/bash51-016
Merge branch 'next' into temp-c165-development
[people/pmueller/ipfire-2.x.git] / src / patches / bash / bash51-016
CommitLineData
d675dade
AB
1 BASH PATCH REPORT
2 =================
3
4Bash-Release: 5.1
5Patch-ID: bash51-016
6
7Bug-Reported-by: Vincent Menegaux <vincent.menegaux@gmail.com>
8Bug-Reference-ID:
9Bug-Reference-URL: https://savannah.gnu.org/patch/?10070
10
11Bug-Description:
12
13Multiple `!' tokens should toggle negation of an expression in a [[
14conditional command, instead of simply negating the expression.
15
16Patch (apply with `patch -p0'):
17
18*** ../bash-20210515/parse.y 2021-04-21 15:32:50.000000000 -0400
19--- parse.y 2021-05-24 11:53:30.000000000 -0400
20***************
21*** 4797,4801 ****
22 term = cond_term ();
23 if (term)
24! term->flags |= CMD_INVERT_RETURN;
25 }
26 else if (tok == WORD && yylval.word->word[0] == '-' && yylval.word->word[1] && yylval.word->word[2] == 0 && test_unop (yylval.word->word))
27--- 4797,4801 ----
28 term = cond_term ();
29 if (term)
30! term->flags ^= CMD_INVERT_RETURN;
31 }
32 else if (tok == WORD && yylval.word->word[0] == '-' && yylval.word->word[1] && yylval.word->word[2] == 0 && test_unop (yylval.word->word))
33
34*** ../bash-20210515/y.tab.c 2021-05-14 15:50:41.000000000 -0400
35--- y.tab.c 2021-05-24 16:35:55.000000000 -0400
36***************
37*** 7091,7095 ****
38 term = cond_term ();
39 if (term)
40! term->flags |= CMD_INVERT_RETURN;
41 }
42 else if (tok == WORD && yylval.word->word[0] == '-' && yylval.word->word[1] && yylval.word->word[2] == 0 && test_unop (yylval.word->word))
43--- 7091,7095 ----
44 term = cond_term ();
45 if (term)
46! term->flags ^= CMD_INVERT_RETURN;
47 }
48 else if (tok == WORD && yylval.word->word[0] == '-' && yylval.word->word[1] && yylval.word->word[2] == 0 && test_unop (yylval.word->word))
49
50*** ../bash-5.1/patchlevel.h 2020-06-22 14:51:03.000000000 -0400
51--- patchlevel.h 2020-10-01 11:01:28.000000000 -0400
52***************
53*** 26,30 ****
54 looks for to find the patch level (for the sccs version string). */
55
56! #define PATCHLEVEL 15
57
58 #endif /* _PATCHLEVEL_H_ */
59--- 26,30 ----
60 looks for to find the patch level (for the sccs version string). */
61
62! #define PATCHLEVEL 16
63
64 #endif /* _PATCHLEVEL_H_ */