Thread (37 messages) flat view 37 messages, 6 authors, 2016-06-15

Re: [PATCH] Add a new lstat and fstat implementation based on Win32 API

From: Johannes Schindelin <hidden>
Date: 2016-06-15 22:43:33

Possibly related (same subject, not in this thread)

Hi,

On Wed, 5 Sep 2007, Marius Storm-Olsen wrote:
Rutger Nijlunsing said the following on 04.09.2007 23:02:
quoted
On Tue, Sep 04, 2007 at 01:57:38PM +0100, Johannes Schindelin wrote:
quoted
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?
Umm.  I am helplessly overloaded with non-Git work, and just made sure 
that it compiles ;-)  Besides, I did not really understand what I was 
doing; just copying your code to convert from FILETIME to time_t.

Sorry,
Dscho
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help