diff options
author | Andreas Schwab <schwab@suse.de> | 2023-02-28 10:37:18 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2024-03-12 15:51:56 -0300 |
commit | 2fadb0d9b4c14f1517816564bd8ba9e9262f7332 (patch) | |
tree | 50d1fd8b3629684d580a466632b7a32647f63a8d /support/support_descriptor_supports_holes.c | |
parent | 9a1bdd7df731a4bc60f72dbdc1b849e02cfa9c34 (diff) | |
download | glibc-2fadb0d9b4c14f1517816564bd8ba9e9262f7332.tar.gz glibc-2fadb0d9b4c14f1517816564bd8ba9e9262f7332.tar.xz glibc-2fadb0d9b4c14f1517816564bd8ba9e9262f7332.zip |
support: use 64-bit time_t (bug 30111)
Ensure to use 64-bit time_t in the test infrastructure. (cherry picked from commit 3bfdc4e2bceb601b90c81a9baa73c1904db58b2f)
Diffstat (limited to 'support/support_descriptor_supports_holes.c')
-rw-r--r-- | support/support_descriptor_supports_holes.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/support/support_descriptor_supports_holes.c b/support/support_descriptor_supports_holes.c index 7af5934808..91db216bf0 100644 --- a/support/support_descriptor_supports_holes.c +++ b/support/support_descriptor_supports_holes.c @@ -40,7 +40,7 @@ support_descriptor_supports_holes (int fd) block_headroom = 32, }; - struct stat64 st; + struct stat st; xfstat (fd, &st); if (!S_ISREG (st.st_mode)) FAIL_EXIT1 ("descriptor %d does not refer to a regular file", fd); |