| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
| List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT sourceware DOT cygnus DOT com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com> |
| List-Archive: | <http://sourceware.cygnus.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT sourceware DOT cygnus DOT com> |
| List-Help: | <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs> |
| Sender: | cygwin-owner AT sourceware DOT cygnus DOT com |
| Delivered-To: | mailing list cygwin AT sourceware DOT cygnus DOT com |
| Message-ID: | <380F026B.DAA29987@swi.com> |
| Date: | Thu, 21 Oct 1999 08:09:16 -0400 |
| From: | Paul Berrevoets <paul AT swi DOT com> |
| Organization: | Halcyon Inc. |
| X-Mailer: | Mozilla 4.7 [en] (WinNT; U) |
| X-Accept-Language: | en |
| MIME-Version: | 1.0 |
| To: | Alexander Dupuy <dupuy AT hydraweb DOT com> |
| CC: | cygwin AT sourceware DOT cygnus DOT com |
| Subject: | Re: B20.1 gettimeofday returns incorrect tv_secs |
| References: | <380E4352 DOT 38D8D81B AT hydraweb DOT com> |
Fixed in recent snapshots:
1999-06-04 DJ Delorie <dj AT cygnus DOT 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 AT sourceware DOT cygnus DOT com
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |