1
0
mirror of https://github.com/php/php-src.git synced 2026-04-27 18:23:26 +02:00

- little comment to avoid undesired changes in this section

This commit is contained in:
Pierre Joye
2010-01-27 16:44:48 +00:00
parent 93d9913e3f
commit 32bbeb6bee
+1
View File
@@ -1514,6 +1514,7 @@ CWD_API int virtual_rename(char *oldname, char *newname TSRMLS_DC) /* {{{ */
/* rename on windows will fail if newname already exists.
MoveFileEx has to be used */
#ifdef TSRM_WIN32
/* MoveFileEx returns 0 on failure, other way 'round for this function */
retval = (MoveFileEx(oldname, newname, MOVEFILE_REPLACE_EXISTING|MOVEFILE_COPY_ALLOWED) == 0) ? -1 : 0;
#else
retval = rename(oldname, newname);