[Patch] patch -Z not working if timestamp contains seconds >=59.5

Christian Franke Christian.Franke@t-online.de
Tue Apr 25 12:07:00 GMT 2006


Hi,

the patch 2.5.8-8 options -Z and -T do not set filetime if the seconds
part
of the timestamp is greater or equal 59.5
This is because maketime() does not handle "denormalized" times and
returns an error on tm_sec = 60.
The attached patch is a quick fix (and a testcase ;-) for this issue.

Christian
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch-utime.patch.txt
URL: <http://cygwin.com/pipermail/cygwin/attachments/20060425/5b779f20/attachment.txt>
-------------- next part --------------
--
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/


More information about the Cygwin mailing list