mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-07-13 05:21:40 +02:00
37859: NULL-terminate cond_binary_ops static array.
This commit is contained in:
parent
0baf57701c
commit
69acac38c9
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
2016-01-31 Barton E. Schaefer <schaefer@zsh.org>
|
||||||
|
|
||||||
|
* 37859: Src/text.c: NULL-terminate cond_binary_ops static array.
|
||||||
|
|
||||||
2016-01-30 Barton E. Schaefer <schaefer@zsh.org>
|
2016-01-30 Barton E. Schaefer <schaefer@zsh.org>
|
||||||
|
|
||||||
* 37845: Doc/Zsh/builtins.yo: Forward-reference typeset instances
|
* 37845: Doc/Zsh/builtins.yo: Forward-reference typeset instances
|
||||||
|
|
|
@ -47,7 +47,7 @@ int text_expand_tabs;
|
||||||
*/
|
*/
|
||||||
static const char *cond_binary_ops[] = {
|
static const char *cond_binary_ops[] = {
|
||||||
"=", "!=", "<", ">", "-nt", "-ot", "-ef", "-eq",
|
"=", "!=", "<", ">", "-nt", "-ot", "-ef", "-eq",
|
||||||
"-ne", "-lt", "-gt", "-le", "-ge", "=~"
|
"-ne", "-lt", "-gt", "-le", "-ge", "=~", NULL
|
||||||
};
|
};
|
||||||
|
|
||||||
static char *tptr, *tbuf, *tlim, *tpending;
|
static char *tptr, *tbuf, *tlim, *tpending;
|
||||||
|
|
Loading…
Reference in a new issue