delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/01/24/05:21:08

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Tue, 24 Jan 2012 11:20:02 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: 1.7.9 : date command fails for year 1900
Message-ID: <20120124102002.GM2456@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <0105D5C1E0353146B1B222348B0411A20A51A74206 AT NIHMLBX02 DOT nih DOT gov> <4F1E812E DOT 7060603 AT overbearing DOT org>
MIME-Version: 1.0
In-Reply-To: <4F1E812E.7060603@overbearing.org>
User-Agent: Mutt/1.5.21 (2010-09-15)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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 Jan 24 11:00, cygwin wrote:
> I want to thank everybody that responded.  It looks like you don't
> think this is a bug. Given that date seems to work as I expect on SL
> 6.0, I would like to make a feature request: "Fix the date command
> to actually respond with the date"

It's not date's problem.  The reason is that time_t is defined as 32 bit
type for historical reasons.  We would have to redefine time_t to 64 bit
and change all time_t releated libc entry points in Cygwin to get this
working, but this is not a simple task.  And it only affects executables
which are recompiled under the new settings.

But maybe it's really time to do it for Cygwin 1.7.11...


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
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