]> sourceware.org Git - glibc.git/commitdiff
Update.
authorUlrich Drepper <drepper@redhat.com>
Sun, 12 Jan 2003 23:44:14 +0000 (23:44 +0000)
committerUlrich Drepper <drepper@redhat.com>
Sun, 12 Jan 2003 23:44:14 +0000 (23:44 +0000)
* 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.

ChangeLog
io/ftw.c
io/ftwtest-sh
linuxthreads/ChangeLog

index 4a55f7f975575eddc9b3febf7f3da0d2f4370436..6ea1b06cdfe00b8d40eb03b6f21964afd42e4d4f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2003-01-12  Ulrich Drepper  <drepper@redhat.com>
 
+       * 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.
 
index eceb4040d0840db51c78f0190161e763354fe78d..26dd77fafa9cffa0a6c5d5919f1e2c351f454144 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);
index 4f3b7865e8bc12ac0aee91c4458e14752bdb0b2f..76c1de7f3e10086526cac9cb68ab71937eaa3744 100644 (file)
@@ -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 <<EOF | diff -u $testout - || exit 1
+base = "ftwtest.d/foo/lvl1/", file = "link@1", flag = FTW_SLN, cwd = $tmpreal/ftwtest.d/foo/lvl1, level = 0
+EOF
+rm $testout
+
 LD_LIBRARY_PATH=$objpfx $ldso $testprogram --early-exit $tmpdir |
     sort > $testout
 
index 880b05092be42df06567d9a4c5533cbf80770f41..7a3b9ca55b0a99939e920cb433b9f39305b6ee81 100644 (file)
@@ -1,3 +1,15 @@
+2003-01-10  Martin Schwidefsky  <schwidefsky@de.ibm.com>
+
+       * 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  <schwidefsky@de.ibm.com>
+
+       * 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  <Franz.Sirl-kernel@lauterbach.com>
 
        * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: New file.
This page took 0.05601 seconds and 5 git commands to generate.