delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/08/24/09:23:26

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-6.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Message-ID: <4C73C7C1.4080107@redhat.com>
Date: Tue, 24 Aug 2010 07:23:13 -0600
From: Eric Blake <eblake AT redhat DOT com>
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.8) Gecko/20100806 Fedora/3.1.2-1.fc13 Mnenhy/0.8.3 Thunderbird/3.1.2
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: `TZ=Pacific/Kwajalein date -d 1993-08-20` doesn't fail
References: <29135f40 DOT 8bed DOT 12a97c158ac DOT Coremail DOT lijpbasin AT 126 DOT com> <20100823010955 DOT 22506 DOT qmail AT kosh DOT dhis DOT org> <4C729B63 DOT 4000405 AT cs DOT ucla DOT edu> <7856072A9D04C24B82DFE2B1112FE38A0177ADD66E AT MCHP058A DOT global-ad DOT net> <4C737CEC DOT 1000705 AT cs DOT ucla DOT edu> <7856072A9D04C24B82DFE2B1112FE38A0177ADD737 AT MCHP058A DOT global-ad DOT net>
In-Reply-To: <7856072A9D04C24B82DFE2B1112FE38A0177ADD737@MCHP058A.global-ad.net>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

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 AT redhat DOT 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019