This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: [Patch] patch -Z not working if timestamp contains seconds >=59.5
Peter Ekberg wrote:
> If you thought about all that, maybe you also thought about leap
seconds?
> Isn't it valid to have 60 in the seconds field when a leap second is
added?
Yes, this should be valid.
But maketime() does not provide portable support for it, because it
relies on gmtime/localtime of the platform's libc.
On Cygwin, maketime() does not accept 2005-12-31 23:59:60 UTC as a valid
time.
Cheers
Christian
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/