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: Aharon Robbins
Subject: Re: [bug-gawk] gawk with dates before 1970
Date: Thu, 16 Apr 2015 22:55:17 +0300
User-agent: Heirloom mailx 12.5 6/20/10

> Thanks.  I hate to beat a dead horse, but why is it a fatal error
> when the timestamp argument is out of time_t range, as opposed to
> simply returning an empty string when gmtime/localtime fails?
> Shouldn't we handle these consistently?

Yeah, yeah, yeah. I'm lazy. :-)  Empty string it is.

> My personal preference might be
> to return "" in both cases along with a warning message.

Warning only if --lint.

Arnold



reply via email to

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