projects
/
kopensolaris-gnu
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b7a1891
)
(__hurd_path_lookup): Skip over initial slashes before calling
author
mib
<mib>
Wed, 20 Jul 1994 22:55:05 +0000
(22:55 +0000)
committer
mib
<mib>
Wed, 20 Jul 1994 22:55:05 +0000
(22:55 +0000)
__dir_pathtrans.
hurd/hurdlookup.c
patch
|
blob
|
history
diff --git
a/hurd/hurdlookup.c
b/hurd/hurdlookup.c
index
287daed
..
89fb48d
100644
(file)
--- a/
hurd/hurdlookup.c
+++ b/
hurd/hurdlookup.c
@@
-34,6
+34,9
@@
__hurd_path_lookup (file_t crdir, file_t cwdir,
startdir = path[0] == '/' ? crdir : cwdir;
+ while (path[0] == '/')
+ path++;
+
if (err = __dir_pathtrans (startdir, path, flags, mode,
&doretry, retryname, result))
return err;