From 19873b18b08c97be8bf370398f6dff2b3472f52f Mon Sep 17 00:00:00 2001 From: Adhemerval Zanella Date: Wed, 3 Mar 2021 09:36:18 -0300 Subject: io: Add ftw64 with 64-bit time_t support Similar to fts, ftw routines passes a stat pointer that might differ of size and layout when 64-bit time API is used. Checked on i686-linux-gnu and x86_64-linux-gnu. Reviewed-by: Lukasz Majewski Reviewed-by: Carlos O'Donell Tested-by: Carlos O'Donell --- io/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'io/Makefile') diff --git a/io/Makefile b/io/Makefile index 12c832c..d35e966 100644 --- a/io/Makefile +++ b/io/Makefile @@ -55,7 +55,8 @@ routines := \ posix_fallocate posix_fallocate64 \ sendfile sendfile64 copy_file_range \ utimensat futimens file_change_detection \ - fts64-time64 + fts64-time64 \ + ftw64-time64 others := pwd test-srcs := ftwtest @@ -106,6 +107,7 @@ CFLAGS-fts64.c += -Wno-uninitialized $(uses-callbacks) -fexceptions CFLAGS-fts64-time64.c += -Wno-uninitialized $(uses-callbacks) -fexceptions CFLAGS-ftw.c += $(uses-callbacks) -fexceptions CFLAGS-ftw64.c += $(uses-callbacks) -fexceptions +CFLAGS-ftw64-time64.c += $(uses-callbacks) -fexceptions CFLAGS-posix_fallocate.c += -fexceptions CFLAGS-posix_fallocate64.c += -fexceptions CFLAGS-fallocate.c += -fexceptions -- cgit v1.1