This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: `TZ=Pacific/Kwajalein date -d 1993-08-20` doesn't fail
- From: Eric Blake <eblake at redhat dot com>
- To: cygwin at cygwin dot com
- Date: Tue, 24 Aug 2010 07:23:13 -0600
- Subject: Re: `TZ=Pacific/Kwajalein date -d 1993-08-20` doesn't fail
- References: <29135f40.8bed.12a97c158ac.Coremail.lijpbasin@126.com> <20100823010955.22506.qmail@kosh.dhis.org> <4C729B63.4000405@cs.ucla.edu> <7856072A9D04C24B82DFE2B1112FE38A0177ADD66E@MCHP058A.global-ad.net> <4C737CEC.1000705@cs.ucla.edu> <7856072A9D04C24B82DFE2B1112FE38A0177ADD737@MCHP058A.global-ad.net>
On 08/24/2010 03:06 AM, Voelker, Bernhard wrote:
> $ TZ=Pacific/Kwajalein date -d 1993-08-20
> date: invalid date `1993-08-20'
>
> but it doesn't fail on my Cygwin installation (see below).
> Is there a porting/packaging issue?
Most likely it is either a difference in the tzdata package, or a bug
in the newlib implementation of mktime(3); very unlikely to be a bug in
the porting of coreutils. But you'd have to step through it in a
debugger to find out for sure.
--
Eric Blake eblake@redhat.com +1-801-349-2682
Libvirt virtualization library http://libvirt.org
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple