diff options
author | Michael I. Bushnell <mib@gnu.org> | 1996-02-15 21:31:11 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1996-02-15 21:31:11 +0000 |
commit | 928d7c31618b48d77090f13e09595170b43ca95d (patch) | |
tree | 82007459f740960b8f04989f610cede7935022ae | |
parent | 88a9293e23e8d5072cae109303d002e7ce362280 (diff) |
Formerly dir-lookup.c.~6~
-rw-r--r-- | libnetfs/dir-lookup.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libnetfs/dir-lookup.c b/libnetfs/dir-lookup.c index 5915a7a7..7e337761 100644 --- a/libnetfs/dir-lookup.c +++ b/libnetfs/dir-lookup.c @@ -1,5 +1,5 @@ /* - Copyright (C) 1995 Free Software Foundation, Inc. + Copyright (C) 1995, 1996 Free Software Foundation, Inc. Written by Michael I. Bushnell, p/BSG. This file is part of the GNU Hurd. @@ -116,7 +116,7 @@ netfs_S_dir_lookup (struct protid *diruser, retry_lookup: if (dnp == netfs_root_node - && nextname[0] == '.' && nextname[1] == '.' && nextname[2] == '\0') + && filename[0] == '.' && filename[1] == '.' && filename[2] == '\0') { /* Lookup of .. from root */ if (diruser->po->dotdotport != MACH_PORT_NULL) @@ -140,7 +140,7 @@ netfs_S_dir_lookup (struct protid *diruser, } else /* Attempt a lookup on the next pathname component. */ - error = netfs_attempt_lookup (diruser->credential, dnp, nextname, &np); + error = netfs_attempt_lookup (diruser->credential, dnp, filename, &np); /* At this point, DNP is unlocked */ |