On 4/19/07, Alex Riesen [off-list ref] wrote:
quoted
So here's a suggested and totally untested patch. It makes the code more
readable, and probably fixes *two* bugs in the process. It also simply
doesn't really even care what the error actually was - the important part
was not that it was a directory, but that the unlink didn't succeed!
Well, it is a bit tested now. I'll repeat the testing tomorrow on that
windows box.
Tested on windows too. Works.