Thread (11 messages) flat view 11 messages, 3 authors, 2016-06-15

Re: [PATCH] t4212: handle systems with post-apocalyptic gmtime

From: Charles Bailey <hidden>
Date: 2016-06-15 23:00:33

Possibly related (same subject, not in this thread)

On Wed, Mar 26, 2014 at 03:40:43PM -0400, Jeff King wrote:
On Wed, Mar 26, 2014 at 03:33:59PM -0400, Jeff King wrote:
quoted
That being said, is the AIX value actually right? I did not look closely
at first, but just assumed that it was vaguely right. But:

  999999999999999999 / (86400 * 365)

is something like 31 billion years in the future, not 160 million.
A real date calculation will have a few tweaks (leap years, etc), but
that is orders of magnitude off.
Assuming my math is right, then here is the most sensible patch, IMHO.
Perhaps hold onto this one for a little while longer. Splitting things
out from the test is giving me some inconsistent results, there may be
something else going wrong in our environment here.

Charles.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help