From 7f3a902744d96262ef9d2b70a7058f710c99cfa4 Mon Sep 17 00:00:00 2001 From: millert Date: Wed, 19 Sep 2018 18:48:55 +0000 Subject: [PATCH] Fix last commit, I made one of the changes to the wrong line. Noticed by martijn@ --- bin/csh/lex.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/csh/lex.c b/bin/csh/lex.c index 0f2cc2355a0..473ed428c39 100644 --- a/bin/csh/lex.c +++ b/bin/csh/lex.c @@ -1,4 +1,4 @@ -/* $OpenBSD: lex.c,v 1.28 2018/09/19 15:14:35 millert Exp $ */ +/* $OpenBSD: lex.c,v 1.29 2018/09/19 18:48:55 millert Exp $ */ /* $NetBSD: lex.c,v 1.9 1995/09/27 00:38:46 jtc Exp $ */ /*- @@ -1274,7 +1274,7 @@ top: aret = F_SEEK; if (alvecp) { aret = A_SEEK; - if ((c = *alvecp++) != NULL) + if ((c = *alvecp++) != '\0') return (c); if (alvec && *alvec) { alvecp = *alvec++; @@ -1287,7 +1287,7 @@ top: } } if (alvec) { - if ((alvecp = *alvec) != '\0') { + if ((alvecp = *alvec) != NULL) { alvec++; goto top; } -- 2.20.1