This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: B20.1 gettimeofday returns incorrect tv_secs


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]