From: Ulrich Drepper Date: Sun, 12 Jan 2003 23:44:14 +0000 (+0000) Subject: Update. X-Git-Tag: upstream/2.30~20277 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=40212ce0c92b25d5b3470d09ad5cb3f625c6a4c2;p=external%2Fglibc.git 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. --- diff --git a/ChangeLog b/ChangeLog index 4a55f7f..6ea1b06 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 2003-01-12 Ulrich Drepper + * 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. + * Makerules (build-shlib-helper): Don't use -z defs linker option if no-z-defs is defined either. diff --git a/io/ftw.c b/io/ftw.c index eceb404..26dd77f 100644 --- 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); diff --git a/io/ftwtest-sh b/io/ftwtest-sh index 4f3b786..76c1de7 100644 --- a/io/ftwtest-sh +++ b/io/ftwtest-sh @@ -182,6 +182,17 @@ base = "ftwtest.d/./foo/lvl1/lvl2/lvl3/", file = "file@3", flag = FTW_F, cwd = $ EOF rm $testout +curwd=`/bin/pwd 2>/dev/null || /usr/bin/pwd` +cd "$tmp" +LD_LIBRARY_PATH=$objpfx $ldso $testprogram --chdir ftwtest.d/foo/lvl1/link@1 | + sort > $testout +cd "$curwd" + +cat < $testout diff --git a/linuxthreads/ChangeLog b/linuxthreads/ChangeLog index 880b050..7a3b9ca 100644 --- a/linuxthreads/ChangeLog +++ b/linuxthreads/ChangeLog @@ -1,3 +1,15 @@ +2003-01-10 Martin Schwidefsky + + * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Setup + backchain in pseudo_cancel. Minor code improvements. + * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): + Likewise. + +2003-01-10 Martin Schwidefsky + + * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: New file. + * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: New file. + 2002-01-12 Franz Sirl * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: New file.