bug-gawk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-gawk] gawk with dates before 1970


From: Eli Zaretskii
Subject: Re: [bug-gawk] gawk with dates before 1970
Date: Tue, 14 Apr 2015 17:33:01 +0300

> From: Glaudiston Gomes da Silva <address@hidden>
> Date: Tue, 14 Apr 2015 07:26:37 -0300
> Cc: Aharon Robbins <address@hidden>, address@hidden
> 
> Andrew, Aharon and Eli,
> 
> Your comments are based on the first email's thread. After that I realize a
> better way that just comment and did another sugestion, to verify the type for
> signed/unsigned, and for unsigned, ok for fatal this, but if signed ignore 
> this
> fatal:
> 
> https://lists.gnu.org/archive/html/bug-gawk/2015-04/msg00015.html

This is not enough, you need also to make sure that the underlying
time functions can handle negative values.  That this is so on your
platform is in no way a sign that it's so everywhere else.

> This way I think it keeps the current behavior to unsupported(unsigned) 
> systems
> and improve this functionality to all signed systems.

At least one system that uses unsigned time_t is still supported,
AFAIK.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]