Module Name: src
Committed By: wiz
Date: Sun Jan 17 12:15:37 UTC 2010
Modified Files:
src/bin/csh: lex.c
Log Message:
Match curly braces in undef(FILEC) case. Found by cppcheck.
To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 src/bin/csh/lex.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/bin/csh/lex.c
diff -u src/bin/csh/lex.c:1.26 src/bin/csh/lex.c:1.27
--- src/bin/csh/lex.c:1.26 Mon Jul 16 18:26:10 2007
+++ src/bin/csh/lex.c Sun Jan 17 12:15:36 2010
@@ -1,4 +1,4 @@
-/* $NetBSD: lex.c,v 1.26 2007/07/16 18:26:10 christos Exp $ */
+/* $NetBSD: lex.c,v 1.27 2010/01/17 12:15:36 wiz Exp $ */
/*-
* Copyright (c) 1980, 1991, 1993
@@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "@(#)lex.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: lex.c,v 1.26 2007/07/16 18:26:10 christos Exp $");
+__RCSID("$NetBSD: lex.c,v 1.27 2010/01/17 12:15:36 wiz Exp $");
#endif
#endif /* not lint */
@@ -1476,7 +1476,9 @@
}
else if (errno != EINTR)
break;
+#ifdef FILEC
}
+#endif
if (c <= 0)
return (-1);
feobp += c;