]> granicus.if.org Git - php/commitdiff
- removed debug breakpoint and improve inline comment
authorPierre Joye <pajoye@php.net>
Wed, 27 Jan 2010 02:03:41 +0000 (02:03 +0000)
committerPierre Joye <pajoye@php.net>
Wed, 27 Jan 2010 02:03:41 +0000 (02:03 +0000)
main/streams/plain_wrapper.c

index 4abc5b558f9d982213e8d4d8315d841646a00774..6a74f91c7697aaab012819ff9914bc826a55a233 100644 (file)
@@ -1065,7 +1065,7 @@ static int php_plain_files_rename(php_stream_wrapper *wrapper, char *url_from, c
        }
 
 #ifdef PHP_WIN32
-       /* Prevent bad things to happen when passing ' ' to MoveFileEx */
+       /* Prevent bad things to happen when invalid path are used with MoveFileEx */
        {
                int url_from_len = strlen(url_from);
                int url_to_len = strlen(url_to);
@@ -1102,7 +1102,7 @@ static int php_plain_files_rename(php_stream_wrapper *wrapper, char *url_from, c
        if (php_check_open_basedir(url_from TSRMLS_CC) || php_check_open_basedir(url_to TSRMLS_CC)) {
                return 0;
        }
-__debugbreak();
+
        ret = VCWD_RENAME(url_from, url_to);
 
        if (ret == -1) {