X-Spam-Check-By: sourceware.org MIME-Version: 1.0 In-Reply-To: <20060426080858.GA14738@sellafield.lysator.liu.se> References: <054c01c668a4$554924e0$a501a8c0 AT CAM DOT ARTIMI DOT COM> <444E95C0 DOT 9080708 AT t-online DOT de> <20060426080858 DOT GA14738 AT sellafield DOT lysator DOT liu DOT se> Date: Wed, 26 Apr 2006 11:14:20 +0200 To: cygwin AT cygwin DOT com X-UMS: email X-Mailer: TOI Kommunikationscenter V7-0-3 Subject: Re: [Patch] patch -Z not working if timestamp contains seconds >=59.5 From: "Christian Franke" Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit Message-ID: <1FYg6G-0BFM1o0@fwd31.aul.t-online.de> X-ID: TtifNrZFweN4CoreqZhl6HfjHPg43+Qq-3UJjX9E1WmdgwgpL5N4QB AT t-dialin DOT net X-TOI-MSGID: 75c14dbc-76a6-4925-a1b8-8386f924fe6f X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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/