]> granicus.if.org Git - strace/commit
Drop support of dummy members of struct stat
authorDmitry V. Levin <ldv@altlinux.org>
Mon, 15 Aug 2016 18:33:47 +0000 (18:33 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Mon, 15 Aug 2016 19:09:24 +0000 (19:09 +0000)
commit7e2fe5029a803ae6a5a004fe3d3fed3fd9a033e7
treee1809e187d6dc13820de0a0a941d7aca58282cac
parent18cac625e552ca0574ee8d8b674ef3d3ab29e450
Drop support of dummy members of struct stat

As st_flags, st_fstype, and st_gen members of struct stat are not filled
by the kernel, there is no use supporting them.

* configure.ac (AC_CHECK_MEMBERS): Remove struct stat.st_flags,
struct stat.st_fstype, and struct stat.st_gen.
* file.c [STAT32_PERSONALITY, HAVE_STRUCT_STAT64]: Do not undefine
HAVE_STRUCT_STAT_ST_FLAGS, HAVE_STRUCT_STAT_ST_FSTYPE,
and HAVE_STRUCT_STAT_ST_GEN.
* printstat.h (DO_PRINTSTAT): Do not check for
HAVE_STRUCT_STAT_ST_FLAGS, HAVE_STRUCT_STAT_ST_FSTYPE,
and HAVE_STRUCT_STAT_ST_GEN.
configure.ac
file.c
printstat.h