From 2a73bf157cefb9f4fef54dd9bd822808423bb380 Mon Sep 17 00:00:00 2001 From: Thomas Bushnell Date: Tue, 14 Jul 1998 20:50:48 +0000 Subject: Tue Jul 14 16:30:48 1998 Thomas Bushnell, n/BSG * dir-lookup.c (netfs_S_dir_lookup): Don't require the node to be a directory in the null pathname case. --- libnetfs/ChangeLog | 5 +++++ libnetfs/dir-lookup.c | 4 +--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/libnetfs/ChangeLog b/libnetfs/ChangeLog index 1b20e605..e796bb57 100644 --- a/libnetfs/ChangeLog +++ b/libnetfs/ChangeLog @@ -1,3 +1,8 @@ +Tue Jul 14 16:30:48 1998 Thomas Bushnell, n/BSG + + * dir-lookup.c (netfs_S_dir_lookup): Don't require the node to be + a directory in the null pathname case. + 1997-09-09 Miles Bader * dir-lookup.c (netfs_S_dir_lookup): Fix type signature of diff --git a/libnetfs/dir-lookup.c b/libnetfs/dir-lookup.c index 89418010..b486a56a 100644 --- a/libnetfs/dir-lookup.c +++ b/libnetfs/dir-lookup.c @@ -1,5 +1,5 @@ /* - Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc. + Copyright (C) 1995, 1996, 1997, 1998 Free Software Foundation, Inc. Written by Michael I. Bushnell, p/BSG. This file is part of the GNU Hurd. @@ -69,8 +69,6 @@ netfs_S_dir_lookup (struct protid *diruser, if (*filename == '\0') { - mustbedir = 1; - /* Set things up in the state expected by the code from gotit: on. */ dnp = 0; np = diruser->po->np; -- cgit v1.2.3