This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]