delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/05/20/15:51:09

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:content-type:mime-version:subject:from
:in-reply-to:date:content-transfer-encoding:message-id
:references:to; q=dns; s=default; b=qL2+iSiveg0lpCwbN4UGjJ/NbKXA
IuAknS1v/bPVw9rESfzOUKMm0ShdycIamH6JbNrdOBlQVnMyFUSfNc2NZD/joKZj
8BXgfmaJR2GaunMfK/g6SSMn4AzmhrjOVJolnLYqECjnaSZ5mIyDPEZlYcgsJxqP
ATdEGn2BKl85tDs=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:content-type:mime-version:subject:from
:in-reply-to:date:content-transfer-encoding:message-id
:references:to; s=default; bh=qxoKqlWPAXCWcbaTA0Vk6mMaVEc=; b=ix
VsvkHIeg4OECQ0jtNzN5Qdegjjv9l0Xt63R40C4Qbclil6hEyk5rm+hBGsUbF0fj
+Uu1Ly10L6Mqq+1Qp3A/JXnwdObRAeeAx32xhhZkiGVctAPtHr3sI4XQyw11oXlX
MVROgi5UcK1/PX/+a4koOKtQQANlpF6GRyIE7z2iM=
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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-0.7 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,T_RP_MATCHES_RCVD autolearn=no version=3.3.2
X-HELO: etr-usa.com
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
Subject: Re: Epoch in 1.7.34
From: Warren Young <wyml AT etr-usa DOT com>
In-Reply-To: <CADaEXtdvKkFLisSuZS7ZKSeSLevW9MajMcy+PoRBeMFAYO75kg@mail.gmail.com>
Date: Wed, 20 May 2015 13:50:50 -0600
Message-Id: <D67FCDA8-6DF0-4C6E-ABBE-A521277FD338@etr-usa.com>
References: <CADaEXtdvKkFLisSuZS7ZKSeSLevW9MajMcy+PoRBeMFAYO75kg AT mail DOT gmail DOT com>
To: The Cygwin Mailing List <cygwin AT cygwin DOT com>
X-IsSubscribed: yes
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id t4KJp6CF009007

On May 20, 2015, at 11:33 AM, Andrew Clark <lark047 AT gmail DOT com> wrote:
> 
> I'm not sure if this a Cygwin question or a bash question, but I came
> here first.

Given that date is not a Bash builtin, I don’t know why that’s even on the table.

The Cygwin DLL *is* involved, but a problem in the key function (time(2)) would break an *awful* lot of software, so I can’t see it being the source of the change.

More likely, the change is in newlib or the terminal I/O code.

What do you get from “strace -fq date +%s”?
--
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