Use Windows's native API instead of stat() in rename()'s error path.
commita23a15abc656e26e9f75c7943f7be9d64f6c801f
authorJohannes Sixt <johannes.sixt@telecom.at>
Mon, 12 Nov 2007 11:41:53 +0000 (12 12:41 +0100)
committerJohannes Sixt <johannes.sixt@telecom.at>
Mon, 12 Nov 2007 11:52:17 +0000 (12 12:52 +0100)
treed2d684aa08ebc0d2142441db770f83cd0a98389e
parent50d1c4c74552c97464536a17a45aba2f12facbec
Use Windows's native API instead of stat() in rename()'s error path.

Since we are only interested whether the named entry is a directory, it
is sufficient to use GetFileAttributes() instead of a full stat() call.
compat/mingw.c