]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Update.
authorUlrich Drepper <drepper@redhat.com>
Sat, 12 Aug 2000 08:42:47 +0000 (08:42 +0000)
committerUlrich Drepper <drepper@redhat.com>
Sat, 12 Aug 2000 08:42:47 +0000 (08:42 +0000)
2000-08-12  Ulrich Drepper  <drepper@redhat.com>

* io/fts.c (fts_stat): Recognize DT_WHT only if S_IFWHT is also
defined.

ChangeLog
io/fts.c

index 2a44be92ddb281cd75b4a52f4f8938ce3485aa19..3db27aa51eb4632e4321b1156883df63d2966c30 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2000-08-12  Ulrich Drepper  <drepper@redhat.com>
+
+       * io/fts.c (fts_stat): Recognize DT_WHT only if S_IFWHT is also
+       defined.
+
 2000-08-12  Andreas Jaeger  <aj@suse.de>
 
        * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Try fcntl
index 4c0eb7d8af8b9365b26f76cfcd7981d3f3aa4654..0172af710781e7767f95acc72635c12213cbbd77 100644 (file)
--- a/io/fts.c
+++ b/io/fts.c
@@ -816,7 +816,7 @@ fts_stat(sp, dp, p, follow)
        /* If user needs stat info, stat buffer already allocated. */
        sbp = ISSET(FTS_NOSTAT) ? &sb : p->fts_statp;
 
-#ifdef DT_WHT
+#if defined DT_WHT && defined S_IFWHT
        /*
         * Whited-out files don't really exist.  However, there's stat(2) file
         * mask for them, so we set it so that programs (i.e., find) don't have