diff options
Diffstat (limited to 'bin/csh/dir.c')
-rw-r--r-- | bin/csh/dir.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/csh/dir.c b/bin/csh/dir.c index 1f940916827..0a31e9eef72 100644 --- a/bin/csh/dir.c +++ b/bin/csh/dir.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dir.c,v 1.6 2002/02/19 19:39:35 millert Exp $ */ +/* $OpenBSD: dir.c,v 1.7 2002/06/09 05:47:27 todd Exp $ */ /* $NetBSD: dir.c,v 1.9 1995/03/21 09:02:42 cgd Exp $ */ /*- @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "@(#)dir.c 8.1 (Berkeley) 5/31/93"; #else -static char rcsid[] = "$OpenBSD: dir.c,v 1.6 2002/02/19 19:39:35 millert Exp $"; +static char rcsid[] = "$OpenBSD: dir.c,v 1.7 2002/06/09 05:47:27 todd Exp $"; #endif #endif /* not lint */ @@ -222,7 +222,7 @@ printdirs() } if (!(dirflag & DIR_LONG) && hp != NULL && !eq(hp, STRslash) && (len = Strlen(hp), Strncmp(hp, dp->di_name, len) == 0) && - (dp->di_name[len] == '\0' || dp->di_name[len] == '/')) + (dp->di_name[len] == '\0' || dp->di_name[len] == '/')) len = Strlen(s = (dp->di_name + len)) + 2; else len = Strlen(s = dp->di_name) + 1; |