delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/10/21/14:43:07

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: <380F5E6D.6FF50587@cs.unc.edu>
Date: Thu, 21 Oct 1999 14:41:49 -0400
From: Jeffrey Juliano <juliano AT cs DOT unc DOT edu>
X-Mailer: Mozilla 4.61 [en] (WinNT; I)
X-Accept-Language: en
MIME-Version: 1.0
To: cygwin AT sourceware DOT cygnus DOT com
Subject: Re: B20.1 gettimeofday returns incorrect tv_secs

Paul Berrevoets wrote:

>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.

Thanks for posting the changelog entry.  However, I still have a
question.

In this changelog entry, and in the mail archive, I've seen many
references to a /timezone bias/ bug(fix).  But, I haven't found anything
specifically addressing whether the following problem has been fixed:

 * in cygwin B20.1, the zero point for the result of gettimeofday is
   not 1970.  Instead it is (either when the computer was turned
   on or when you logged in?)

 * this causes problems when trying to synch the clocks between
   a unix box and a cygwin NT box.

I hope this has been changed as well in recent snapshots.  can someone
please verify?  If so, are they in the version on the CD released last
week?

   [FWIW, neither "scale" now "timezone bias"
    sounds to me like what I'm describing]

thanks,

-jeff

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019