diff options
author | Ulrich Drepper <drepper@redhat.com> | 2003-01-12 23:44:14 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2003-01-12 23:44:14 +0000 |
commit | 40212ce0c92b25d5b3470d09ad5cb3f625c6a4c2 (patch) | |
tree | 9cf83ba129fe8dd639952db220905cc4b12c7dcc /io/ftw.c | |
parent | 73398a44bb09014adee1e967a275067a046fe054 (diff) | |
download | glibc-40212ce0c92b25d5b3470d09ad5cb3f625c6a4c2.zip glibc-40212ce0c92b25d5b3470d09ad5cb3f625c6a4c2.tar.gz glibc-40212ce0c92b25d5b3470d09ad5cb3f625c6a4c2.tar.bz2 |
Update.
* io/ftwtest-sh: Add test for case of symlink to nonexisting file
given as start file.
* io/ftw.c (ftw_startup): Use correct name in check for symlink
without existing target. Patch by Jim Meyering.
Diffstat (limited to 'io/ftw.c')
-rw-r--r-- | io/ftw.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |