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:
4ba4f39
)
(ftw_startup): Use correct name in check for symlink without existing target.
author
drepper
<drepper>
Sun, 12 Jan 2003 23:41:18 +0000
(23:41 +0000)
committer
drepper
<drepper>
Sun, 12 Jan 2003 23:41:18 +0000
(23:41 +0000)
io/ftw.c
patch
|
blob
|
history
diff --git
a/io/ftw.c
b/io/ftw.c
index
eceb404
..
26dd77f
100644
(file)
--- a/
io/ftw.c
+++ b/
io/ftw.c
@@
-594,7
+594,7
@@
ftw_startup (const char *dir, int is_nftw, void *func, int descriptors,
{
if (!(flags & FTW_PHYS)
&& errno == ENOENT
- && LXSTAT (_STAT_VER,
dir
, &st) == 0
+ && LXSTAT (_STAT_VER,
name
, &st) == 0
&& S_ISLNK (st.st_mode))
result = (*data.func) (data.dirbuf, &st, data.cvt_arr[FTW_SLN],
&data.ftw);