Source-Changes-HG archive

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

[src/trunk]: src/bin/csh cleanup



details:   https://anonhg.NetBSD.org/src/rev/bd00da1bb618
branches:  trunk
changeset: 467335:bd00da1bb618
user:      itohy <itohy%NetBSD.org@localhost>
date:      Tue Mar 23 09:29:51 1999 +0000

description:
cleanup

diffstat:

 bin/csh/file.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (41 lines):

diff -r fb71faeca220 -r bd00da1bb618 bin/csh/file.c
--- a/bin/csh/file.c    Tue Mar 23 09:29:11 1999 +0000
+++ b/bin/csh/file.c    Tue Mar 23 09:29:51 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: file.c,v 1.15 1998/12/26 02:11:39 itohy Exp $  */
+/*     $NetBSD: file.c,v 1.16 1999/03/23 09:29:51 itohy Exp $  */
 
 /*-
  * Copyright (c) 1980, 1991, 1993
@@ -38,7 +38,7 @@
 #if 0
 static char sccsid[] = "@(#)file.c     8.2 (Berkeley) 3/19/94";
 #else
-__RCSID("$NetBSD: file.c,v 1.15 1998/12/26 02:11:39 itohy Exp $");
+__RCSID("$NetBSD: file.c,v 1.16 1999/03/23 09:29:51 itohy Exp $");
 #endif
 #endif /* not lint */
 
@@ -47,12 +47,12 @@
 #include <sys/param.h>
 #include <sys/ioctl.h>
 #include <sys/stat.h>
+#include <sys/tty.h>
 #include <termios.h>
 #include <dirent.h>
 #include <pwd.h>
 #include <stdlib.h>
 #include <unistd.h>
-#include <sys/tty.h>
 #ifndef SHORT_STRINGS
 #include <string.h>
 #endif /* SHORT_STRINGS */
@@ -229,7 +229,7 @@
                    svchars[nsv++] = c;
                    i--;        /* try this comparison with the next char */
                } else
-                   break;      /* too much */
+                   break;      /* too many */
            }
        }
     }



Home | Main Index | Thread Index | Old Index