This incorporates:
2023-02-07 Use 64-bit time_t interfaces in strftime and strptime
* lib/strftime.c [_LIBC] (time_t, __gmtime_r, mktime): Define as macros.
* config/srclist.txt: Update comment regarding glibc/time/strftime_l.c.
+2024-02-06 Bruno Haible <bruno@clisp.org>
+
+ nstrftime: Merge glibc strftime changes.
+ This incorporates:
+ 2023-02-07 Use 64-bit time_t interfaces in strftime and strptime
+ * lib/strftime.c [_LIBC] (time_t, __gmtime_r, mktime): Define as macros.
+ * config/srclist.txt: Update comment regarding glibc/time/strftime_l.c.
+
2024-02-06 Bruno Haible <bruno@clisp.org>
nstrftime, fprintftime: Simplify.
#$LIBCSRC sysdeps/unix/dirfd.c lib gpl
#$LIBCSRC sysdeps/unix/grantpt.c lib gpl
#$LIBCSRC sysdeps/unix/rmdir.c lib gpl
-#$LIBCSRC time/strftime.c lib gpl
+#$LIBCSRC time/strftime_l.c lib gpl (strftime.c)
# These are close, but we are using the gettext versions.
#$LIBCSRC misc/mkdtemp.c lib gpl
#$LIBCSRC stdlib/setenv.c lib gpl (setenv.c, unsetenv.c)
# define mktime_z(tz, tm) mktime (tm)
# define tzname __tzname
# define tzset __tzset
+
+# define time_t __time64_t
+# define __gmtime_r(t, tp) __gmtime64_r (t, tp)
+# define mktime(tp) __mktime64 (tp)
#endif
#ifndef FPRINTFTIME