aboutsummaryrefslogtreecommitdiff
path: root/io
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-08-12 08:42:47 +0000
committerUlrich Drepper <drepper@redhat.com>2000-08-12 08:42:47 +0000
commit977588cd9323ec624375de12bc050868991cc11b (patch)
tree2bb8747096f07fefa24a87f08338e828ed6bf86c /io
parent590a63937a90e36bf0cfaffc523545601955d8f5 (diff)
downloadglibc-977588cd9323ec624375de12bc050868991cc11b.zip
glibc-977588cd9323ec624375de12bc050868991cc11b.tar.gz
glibc-977588cd9323ec624375de12bc050868991cc11b.tar.bz2
Update.
2000-08-12 Ulrich Drepper <drepper@redhat.com> * io/fts.c (fts_stat): Recognize DT_WHT only if S_IFWHT is also defined.
Diffstat (limited to 'io')
-rw-r--r--io/fts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/io/fts.c b/io/fts.c
index 4c0eb7d..0172af7 100644
--- 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