This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: B20.1 gettimeofday returns incorrect tv_secs
- To: Alexander Dupuy <dupuy at hydraweb dot com>
- Subject: Re: B20.1 gettimeofday returns incorrect tv_secs
- From: Paul Berrevoets <paul at swi dot com>
- Date: Thu, 21 Oct 1999 08:09:16 -0400
- CC: cygwin at sourceware dot cygnus dot com
- Organization: Halcyon Inc.
- References: <380E4352.38D8D81B@hydraweb.com>
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