summary refs log tree commit diff
path: root/Src/text.c
diff options
context:
space:
mode:
authorBarton E. Schaefer <schaefer@zsh.org>2016-01-31 15:19:56 -0800
committerBarton E. Schaefer <schaefer@zsh.org>2016-01-31 15:19:56 -0800
commit69acac38c90559eb2138d3fd7cd852ff73a77fdd (patch)
tree1febdb5dae0df37bc68088a2de1477f8b0f3c75b /Src/text.c
parent0baf57701c458b9497d402911fb77443b5be529c (diff)
downloadzsh-69acac38c90559eb2138d3fd7cd852ff73a77fdd.tar.gz
zsh-69acac38c90559eb2138d3fd7cd852ff73a77fdd.tar.xz
zsh-69acac38c90559eb2138d3fd7cd852ff73a77fdd.zip
37859: NULL-terminate cond_binary_ops static array.
Diffstat (limited to 'Src/text.c')
-rw-r--r--Src/text.c2
1 files changed, 1 insertions, 1 deletions
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;