This is the mail archive of the firstname.lastname@example.org
mailing list for the Cygwin project. See the Cygwin
home page for more information.
Re: B20: mv deletes files on error (NT)
Anders Norlander wrote:
> `mv foo Foo' is a perfectly legal command, case-sensitive file-system or
Imagine, what `mv' does in this case (shortened):
if (st_from.st_ino == st_to.st_ino)
// Oops, it's already the same file
and this is exactly the situation for `mv' under windows! It's not
a bug of cygwin dll, because the two stat calls really return stat
structures of the same file! This is correct for case preserving FS.
It's the problem of the 'mv' implementation, to handle this situation
Want to unsubscribe from this list?
Send a message to email@example.com