`TZ=Pacific/Kwajalein date -d 1993-08-20` doesn't fail

Eric Blake eblake@redhat.com
Tue Aug 24 13:29:00 GMT 2010


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



More information about the Cygwin mailing list