summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Bushnell <thomas@gnu.org>1998-07-14 20:50:48 +0000
committerThomas Bushnell <thomas@gnu.org>1998-07-14 20:50:48 +0000
commit2a73bf157cefb9f4fef54dd9bd822808423bb380 (patch)
tree2ef9d64b788861747b50df8f1022c4735b29331f
parenta035c1dc3e8f671ee17ee5c12870c6fed78a93b8 (diff)
Tue Jul 14 16:30:48 1998 Thomas Bushnell, n/BSG <tb@mit.edu>
* dir-lookup.c (netfs_S_dir_lookup): Don't require the node to be a directory in the null pathname case.
-rw-r--r--libnetfs/ChangeLog5
-rw-r--r--libnetfs/dir-lookup.c4
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 <tb@mit.edu>
+
+ * 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 <miles@gnu.ai.mit.edu>
* 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;