Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/bin/csh Match curly braces in undef(FILEC) case. Found by cp...



details:   https://anonhg.NetBSD.org/src/rev/72b543836fea
branches:  trunk
changeset: 750864:72b543836fea
user:      wiz <wiz%NetBSD.org@localhost>
date:      Sun Jan 17 12:15:36 2010 +0000

description:
Match curly braces in undef(FILEC) case. Found by cppcheck.

diffstat:

 bin/csh/lex.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (28 lines):

diff -r 7f42959d4cae -r 72b543836fea bin/csh/lex.c
--- a/bin/csh/lex.c     Sun Jan 17 12:08:29 2010 +0000
+++ b/bin/csh/lex.c     Sun Jan 17 12:15:36 2010 +0000
@@ -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;



Home | Main Index | Thread Index | Old Index