1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-07-06 03:01:26 +02:00

37859: NULL-terminate cond_binary_ops static array.

This commit is contained in:
Barton E. Schaefer 2016-01-31 15:19:56 -08:00
parent 0baf57701c
commit 69acac38c9
2 changed files with 5 additions and 1 deletions

View file

@ -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>
* 37845: Doc/Zsh/builtins.yo: Forward-reference typeset instances

View file

@ -47,7 +47,7 @@ int text_expand_tabs;
*/
static const char *cond_binary_ops[] = {
"=", "!=", "<", ">", "-nt", "-ot", "-ef", "-eq",
"-ne", "-lt", "-gt", "-le", "-ge", "=~"
"-ne", "-lt", "-gt", "-le", "-ge", "=~", NULL
};
static char *tptr, *tbuf, *tlim, *tpending;