mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
- removed debug breakpoint and improve inline comment
This commit is contained in:
parent
6925763347
commit
b7aee13069
1 changed files with 2 additions and 2 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue