summaryrefslogtreecommitdiff
path: root/compat/setenv.c
diff options
context:
space:
mode:
authorLibravatar Johannes Schindelin <Johannes.Schindelin@gmx.de>2007-01-23 13:39:09 +0100
committerLibravatar Johannes Sixt <johannes.sixt@telecom.at>2008-06-23 13:38:23 +0200
commit132a6e903fd912d02392db55c407267103766f19 (patch)
treea19ffa4904b2d5b775f6111844becf7bc97e2f7d /compat/setenv.c
parentWindows: A minimal implemention of getpwuid(). (diff)
downloadtgif-132a6e903fd912d02392db55c407267103766f19.tar.xz
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>
Diffstat (limited to 'compat/setenv.c')
0 files changed, 0 insertions, 0 deletions