Drop struct stat.st_aclcnt and stat.st_level support
Remove the code that supports struct stat.st_aclcnt and stat.st_level decoding -- these fields are not defined in system headers. * configure.ac (AC_CHECK_MEMBERS): Remove struct stat.st_aclcnt and struct stat.st_level. * file.c (realprintstat, printstat64) [HAVE_STRUCT_STAT_ST_ACLCNT || HAVE_STRUCT_STAT_ST_LEVEL]: Remove.
This commit is contained in:
parent
c9cc4cbc50
commit
65ea0d0647
@ -184,13 +184,11 @@ AC_HEADER_STDBOOL
|
||||
AC_HEADER_DIRENT
|
||||
AC_HEADER_STAT
|
||||
AC_CHECK_MEMBERS(m4_normalize([
|
||||
struct stat.st_aclcnt,
|
||||
struct stat.st_blksize,
|
||||
struct stat.st_blocks,
|
||||
struct stat.st_flags,
|
||||
struct stat.st_fstype,
|
||||
struct stat.st_gen,
|
||||
struct stat.st_level,
|
||||
struct stat.st_rdev
|
||||
]))
|
||||
AC_STAT64
|
||||
|
12
file.c
12
file.c
@ -420,12 +420,6 @@ realprintstat(struct tcb *tcp, struct stat *statbuf)
|
||||
tprints(", st_flags=");
|
||||
printflags(fileflags, statbuf->st_flags, "UF_???");
|
||||
#endif
|
||||
#if HAVE_STRUCT_STAT_ST_ACLCNT
|
||||
tprintf(", st_aclcnt=%d", statbuf->st_aclcnt);
|
||||
#endif
|
||||
#if HAVE_STRUCT_STAT_ST_LEVEL
|
||||
tprintf(", st_level=%ld", statbuf->st_level);
|
||||
#endif
|
||||
#if HAVE_STRUCT_STAT_ST_FSTYPE
|
||||
tprintf(", st_fstype=%.*s",
|
||||
(int) sizeof statbuf->st_fstype, statbuf->st_fstype);
|
||||
@ -625,12 +619,6 @@ printstat64(struct tcb *tcp, long addr)
|
||||
tprints(", st_flags=");
|
||||
printflags(fileflags, statbuf.st_flags, "UF_???");
|
||||
#endif
|
||||
#if HAVE_STRUCT_STAT_ST_ACLCNT
|
||||
tprintf(", st_aclcnt=%d", statbuf.st_aclcnt);
|
||||
#endif
|
||||
#if HAVE_STRUCT_STAT_ST_LEVEL
|
||||
tprintf(", st_level=%ld", statbuf.st_level);
|
||||
#endif
|
||||
#if HAVE_STRUCT_STAT_ST_FSTYPE
|
||||
tprintf(", st_fstype=%.*s",
|
||||
(int) sizeof statbuf.st_fstype, statbuf.st_fstype);
|
||||
|
Loading…
x
Reference in New Issue
Block a user