1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-03-06 21:12:38 +02:00

Require FTW_DCH and FTW_DCHP, too.

This commit is contained in:
Jim Meyering
2003-01-22 20:28:25 +00:00
parent 586bfb65d6
commit 81d6349ec5

View File

@@ -40,6 +40,10 @@ cb (const char *file, const struct stat *sb, int file_type, struct FTW *info)
int
main ()
{
/* Require these symbols, too. */
int d1 = FTW_DCH;
int d2 = FTW_DCHP;
int err = nftw ("conftest.dir", cb, 30, FTW_PHYS | FTW_MOUNT | FTW_CHDIR);
exit ((err == 0 && depth == 4) ? 0 : 1);
}