Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@sourceware.cygnus.com>
List-Subscribe: <mailto:cygwin-subscribe@sourceware.cygnus.com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin@sourceware.cygnus.com>
List-Help: <mailto:cygwin-help@sourceware.cygnus.com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner@sourceware.cygnus.com
Delivered-To: mailing list cygwin@sourceware.cygnus.com
Message-ID: <380F026B.DAA29987@swi.com>
Date: Thu, 21 Oct 1999 08:09:16 -0400
From: Paul Berrevoets <paul@swi.com>
Organization: Halcyon Inc.
X-Mailer: Mozilla 4.7 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: Alexander Dupuy <dupuy@hydraweb.com>
CC: cygwin@sourceware.cygnus.com
Subject: Re: B20.1 gettimeofday returns incorrect tv_secs
References: <380E4352.38D8D81B@hydraweb.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit

Fixed in recent snapshots:

     1999-06-04  DJ Delorie  <dj@cygnus.com>

          * times.cc (totimeval): scale sub properly.
          (gettimeofday): don't bias by timezone.

Alexander Dupuy wrote:

> The tv_secs returned by gettimeofday for a simple CYGWIN application don't
> match the (correct) seconds since 1970 returned by time().  This breaks
> applications (like mine) that sometimes use time() and sometimes
> gettimeofday().

--
Regards,
Paul



--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

