On 01/15/2016 08:19 AM, Pádraig Brady wrote:
Note perl has configure time checks in place to avoid this.
As I understand it, Perl merely exposes the problem to the poor Perl
user, by defining two variables that contain Configure-time guesses as
to the extreme time_t values that will work, and expecting the user to
check both variables before calling localtime.
It'd be nice, I suppose, if 'configure' could wrap workarounds around
any localtime, localtime_r, and localtime_rz implementations that have
the bug. That would be a better solution than Perl's. This doesn't sound
high priority, though.