Re: [PATCH] Add a new lstat and fstat implementation based on Win32 API
- From
Marius Storm-Olsen <marius@trolltech.com>
- Date
- Sep 5, 2007, 06:22 UTC
- Message-ID
- <46DE4B2E.70105@trolltech.com>
- In-Reply-To
- <20070904210200.GA32472@nospam.com>
Rutger Nijlunsing said the following on 04.09.2007 23:02:
Show 10 quoted lines
> On Tue, Sep 04, 2007 at 01:57:38PM +0100, Johannes Schindelin wrote: >> Now I am utterly confused. MSDN says >> FILETIME >> Contains a 64-bit value representing the number of 100-nanosecond >> intervals since January 1, 1601 (UTC). >> Hmm. > > [Warning: war stories ahead...] > If you really, really want to know more: > http://search.cpan.org/~shay/Win32-UTCFileTime-1.45/lib/Win32/UTCFileTime.pm
Thanks, seems like it's the right decision then to ensure that we use UTC throughout Git on Windows
Hannes & Dscho, looks like we should revert http://repo.or.cz/w/git/mingw/4msysgit.git?a=commitdiff;h=683775c00d9fb95bcbe4632f95b67a96b902fa59 then, and rather apply Dscho's patch for a custom time() implementation. Dscho, was the custom implementation of time() enough to fix the issues for you?
-- .marius