Paul Eggert 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).

It's safe until the end of the century. That's good enough. (Version control
will have a very different shape by 2100 than it has today.)

> >>               && endptr == line + strlen (line))
> 
> Shorter and faster would be "&& !*endptr)".

Indeed. But compared to a subprocess invocation, the speed of a string
operation doesn't matter.

Thanks for the feedback.

Bruno




Reply via email to