On 2025-02-24 17:04, Collin Funk wrote:
Isn't unsigned long 32 bits on x86_64 Windows?
It's also narrower than time_t on some other platforms, e.g., GNU/Linux x86 when compiled with -D_TIME_BITS=64 (the default if Gnulib's year2038 module is used).
&& endptr == line + strlen (line))
Shorter and faster would be "&& !*endptr)".