From 977588cd9323ec624375de12bc050868991cc11b Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sat, 12 Aug 2000 08:42:47 +0000 Subject: Update. 2000-08-12 Ulrich Drepper * io/fts.c (fts_stat): Recognize DT_WHT only if S_IFWHT is also defined. --- io/fts.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'io') diff --git a/io/fts.c b/io/fts.c index 4c0eb7d8af..0172af7107 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 -- cgit v1.2.3