glibc/conform/data/ftw.h-data
Joseph Myers b003c666ef conformtest: Correct ftw.h expectations for XPG3, XPG4.
This patch corrects various conformtest expectations in ftw.h for XPG3
and XPG4.

Tested for x86_64 and x86.

	* conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
	(FTW_DP): Do not expect for [XPG3 || XPG4].
	(FTW_SL): Do not expect for [XPG3].
	(FTW_SLN): Likewise.
	(FTW_PHYS): Likewise.
	(FTW_MOUNT): Likewise.
	(FTW_DEPTH): Likewise.
	(FTW_CHDIR): Likewise.
	(nftw): Likewise.
	* conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
	variable.
2016-05-20 19:45:06 +00:00

36 lines
684 B
Plaintext

#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined POSIX2008
# ifndef XPG3
type {struct FTW}
element {struct FTW} int base
element {struct FTW} int level
# endif
macro FTW_F
macro FTW_D
macro FTW_DNR
# if !defined XPG3 && !defined XPG4
macro FTW_DP
# endif
macro FTW_NS
# ifndef XPG3
macro FTW_SL
macro FTW_SLN
macro FTW_PHYS
macro FTW_MOUNT
macro FTW_DEPTH
macro FTW_CHDIR
# endif
function int ftw (const char*, int (*) (const char *, const struct stat*, int), int)
# ifndef XPG3
function int nftw (const char*, int (*) (const char *, const struct stat*, int, struct FTW *), int, int)
# endif
allow-header sys/stat.h
allow *_t
allow FTW*
#endif