Re: [PATCH 2/2] Windows: Skip fstat/lstat optimization in write_entry()
- From
- Hannu Koivisto <azure@iki.fi>
- Date
- Apr 20, 2009, 12:34 UTC
- Message-ID
- <83eivnh5bd.fsf@kalahari.s2.org>
- In-Reply-To
- <20090420110302.GB25059@dpotapov.dyndns.org>
Dmitry Potapov <dpotapov@gmail.com> writes:
Show 7 quoted lines
> The cygwin version has the same problem. (In fact, it is even worse, > because we have an optimized version for lstat/stat but not for fstat, > and they return different values for some fields like i_no). But even > if we used the only Cygwin functions, we would still face the problem, > because Windows returns the wrong values for timestamps (and maybe > even size on FAT?). So I think the following patch should be squashed > on top.
I can verify that this fixes the rebase problem I've been having in Cygwin and that I just mailed about separately.
-- Hannu