Code

Windows: always chmod(, 0666) before unlink().
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>
Tue, 23 Jan 2007 12:39:09 +0000 (13:39 +0100)
committerJohannes Sixt <johannes.sixt@telecom.at>
Mon, 23 Jun 2008 11:38:23 +0000 (13:38 +0200)
commit132a6e903fd912d02392db55c407267103766f19
treea19ffa4904b2d5b775f6111844becf7bc97e2f7d
parentf7597acac069bbaad8887cb315a4e5420222971a
Windows: always chmod(, 0666) before unlink().

On Windows, read-only files cannot be deleted. To make sure that
deletion does not fail because of this, always call chmod() before
unlink().

Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Signed-off-by: Johannes Sixt <johannes.sixt@telecom.at>
compat/mingw.h