diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | Src/text.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog index acaf82201..d4adbe886 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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 diff --git a/Src/text.c b/Src/text.c index 04acd2aac..cf6d3eb42 100644 --- a/Src/text.c +++ b/Src/text.c @@ -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; |