B20.1 gettimeofday returns incorrect tv_secs

Paul Berrevoets paul@swi.com
Thu Oct 21 05:09:00 GMT 1999


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



More information about the Cygwin mailing list