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 Sixt <hidden>
Date: 2016-06-15 22:43:33

Possibly related (same subject, not in this thread)

Marius Storm-Olsen schrieb:
Johannes Sixt said the following on 04.09.2007 12:53:
quoted
Marius Storm-Olsen schrieb:
quoted
Johannes Sixt said the following on 04.09.2007 09:41:
http://repo.or.cz/w/git/mingw/4msysgit.git?a=commitdiff;h=f15974add93bdfa92775c77c00e7c65aefd42127 

Looks good, although you should now handle INVALID_HANDLE_VALUE at the 
beginning of git_fstat() like this:
Actually, that's already handled.
It's not a big deal: It's an unlikely code path, actually an indication of a 
coding error, so you can leave your version.
quoted
Ok, I just tested FileTimeToLocalFileTime() in a tight loop, and I can 
run it 100,000,000 times per second. So I'm confident that there won't 
be any noticable degradation with my proposed change.
Ok. I haven't done the performance test with Git yet, but we'll see. If 
it's not noticeable, I'll add it to all the timestamps we have.
Ack.

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