| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
| Date: | Thu, 1 Jul 2004 13:37:37 +0200 |
| From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
| To: | cygwin AT cygwin DOT com |
| Subject: | Re: Bug affecting postgres now() function - more info and offer to fix cygwin bug... |
| Message-ID: | <20040701113737.GD1389@cygbert.vinschen.de> |
| Reply-To: | cygwin AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| References: | <1088347078 DOT 16132 DOT 21 DOT camel AT verona DOT mccinternal DOT com> <1088478284 DOT 13417 DOT 31 DOT camel AT verona DOT mccinternal DOT com> |
| Mime-Version: | 1.0 |
| In-Reply-To: | <1088478284.13417.31.camel@verona.mccinternal.com> |
| User-Agent: | Mutt/1.4.2i |
On Jun 28 23:04, Sean McCune wrote:
> More useful info: (and yes I'm replying to my own message)
>
> I spelunked through the source code and found this in times.cc:
>
> LONGLONG
> hires_ms::usecs (bool justdelta)
> {
> if (!minperiod) /* NO_COPY variable */
> prime ();
> DWORD now = timeGetTime ();
> // FIXME: Not sure how this will handle the 49.71 day wrap around
> LONGLONG res = initime_us.QuadPart + ((LONGLONG) (now - initime_ms) *
> 1000);
> return res;
> }
I've checked in a potential fix. Could you try the latest Cygwin snapshot
from http://cygwin.com/snapshots.html ?
Thanks,
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Co-Project Leader mailto:cygwin AT cygwin DOT com
Red Hat, Inc.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |