minor comments

This commit is contained in:
Josh Coalson
2006-09-16 00:07:20 +00:00
parent 68acb04a4d
commit c0da196166
7 changed files with 7 additions and 4 deletions

View File

@@ -224,6 +224,7 @@ bool transport_tempfile_(const char *filename, FILE **tempfile, char **tempfilen
}
#if defined _MSC_VER || defined __MINGW32__ || defined __EMX__
/* on some flavors of windows, rename() will fail if the destination already exists */
if(unlink(filename) < 0) {
cleanup_tempfile_(tempfile, tempfilename);
return false;