[PATCH 3/9] support: Use 64 bit time_t routines on test-container

Adhemerval Zanella adhemerval.zanella@linaro.org
Mon Feb 13 17:12:56 GMT 2023


The failure only shows if the system time is set past 2038.

Checked on i686-linux-gnu and on system emulated arm-linux-gnueabihf
with time set past y2038.
---
 support/test-container.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/support/test-container.c b/support/test-container.c
index f1a68b224a..4493ec3b6d 100644
--- a/support/test-container.c
+++ b/support/test-container.c
@@ -17,6 +17,7 @@
    <https://www.gnu.org/licenses/>.  */
 
 #define _FILE_OFFSET_BITS 64
+#define _TIME_BITS 64
 
 #include <array_length.h>
 #include <stdio.h>
-- 
2.34.1



More information about the Libc-alpha mailing list