2000-08-12  Ulrich Drepper  <drepper@redhat.com>

	* io/fts.c (fts_stat): Recognize DT_WHT only if S_IFWHT is also
	defined.
This commit is contained in:
Ulrich Drepper 2000-08-12 08:42:47 +00:00
parent 590a63937a
commit 977588cd93
2 changed files with 6 additions and 1 deletions

View File

@ -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

View File

@ -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