mirror of
https://sourceware.org/git/glibc.git
synced 2026-01-06 11:51:29 +03:00
linux: Remove stat-check.c
The check is moved to LFS fstatat implementation (since it is the code that actually implements the syscall). Reviewed-by: Carlos O'Donell <carlos@redhat.com>
This commit is contained in:
@@ -28,6 +28,18 @@
|
||||
#include <kstat_cp.h>
|
||||
#include <stat_t64_cp.h>
|
||||
|
||||
#if __TIMESIZE == 64 \
|
||||
&& (__WORDSIZE == 32 \
|
||||
&& (!defined __SYSCALL_WORDSIZE || __SYSCALL_WORDSIZE == 32))
|
||||
/* Sanity check to avoid newer 32-bit ABI to support non-LFS calls. */
|
||||
_Static_assert (sizeof (__off_t) == sizeof (__off64_t),
|
||||
"__blkcnt_t and __blkcnt64_t must match");
|
||||
_Static_assert (sizeof (__ino_t) == sizeof (__ino64_t),
|
||||
"__blkcnt_t and __blkcnt64_t must match");
|
||||
_Static_assert (sizeof (__blkcnt_t) == sizeof (__blkcnt64_t),
|
||||
"__blkcnt_t and __blkcnt64_t must match");
|
||||
#endif
|
||||
|
||||
int
|
||||
__fstatat64_time64 (int fd, const char *file, struct __stat64_t64 *buf,
|
||||
int flag)
|
||||
|
||||
Reference in New Issue
Block a user