Thread (11 messages) flat view 11 messages, 5 authors, 2016-06-15

Re: [PATCH 2/2] Windows: Skip fstat/lstat optimization in write_entry()

From: Alex Riesen <hidden>
Date: 2016-06-15 22:46:38

2009/4/20 Junio C Hamano [off-list ref]:
Dmitry Potapov [off-list ref] writes:
quoted
If the time passed between the creating file and end of writing to it is
small (less than timestamp resolution), you may not notice the problem.
The following program demonstrates the problem with fstat on Windows.
(I compiled it using Cygwin). If you remove 'sleep' then you may not
notice the problem for a long time.
I take that you mean that Alex's patch does not work as intended.  ...
Yes, it just makes the problem harder to notice by providing a faster fstat.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help