From 5e0e9b99dc3fc0ecd49d929db0d57c784b66f481 Mon Sep 17 00:00:00 2001 From: svn2git Date: Fri, 1 Jul 1994 00:00:00 -0800 Subject: Release FreeBSD 1.1.5.1 This commit was manufactured to restore the state of the 1.1.5.1-RELEASE image. Releases prior to 5.3-RELEASE are omitting the secure/ and crypto/ subdirs. --- sys/pcfs/pcfs_conv.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys/pcfs/pcfs_conv.c') diff --git a/sys/pcfs/pcfs_conv.c b/sys/pcfs/pcfs_conv.c index 66fbba06216f..4fb706f0d81e 100644 --- a/sys/pcfs/pcfs_conv.c +++ b/sys/pcfs/pcfs_conv.c @@ -15,7 +15,7 @@ * * October 1992 * - * $Id: pcfs_conv.c,v 1.4 1993/12/19 00:54:27 wollman Exp $ + * $Id: pcfs_conv.c,v 1.5 1994/04/07 00:30:35 ache Exp $ */ /* @@ -297,11 +297,11 @@ unix2dosfn(un, dn, unlen) * The filenames "." and ".." are handled specially, * since they don't follow dos filename rules. */ - if (un[0] == '.' && un[1] == '\0') { + if (un[0] == '.' && unlen == 1) { dn[0] = '.'; return; } - if (un[0] == '.' && un[1] == '.' && un[2] == '\0') { + if (un[0] == '.' && un[1] == '.' && unlen == 2) { dn[0] = '.'; dn[1] = '.'; return; -- cgit v1.2.3