diff options
author | Pierre Joye <pajoye@php.net> | 2010-01-27 02:03:41 +0000 |
---|---|---|
committer | Pierre Joye <pajoye@php.net> | 2010-01-27 02:03:41 +0000 |
commit | b7aee13069f11f0014c34b3b97bfd5058aba6434 (patch) | |
tree | d4a9b4c96662e4ef80a84c91e0052709cc8d859d /main/streams/plain_wrapper.c | |
parent | 6925763347d37e8198345267ea3e82d862769593 (diff) | |
download | php-git-b7aee13069f11f0014c34b3b97bfd5058aba6434.tar.gz |
- removed debug breakpoint and improve inline comment
Diffstat (limited to 'main/streams/plain_wrapper.c')
-rw-r--r-- | main/streams/plain_wrapper.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/main/streams/plain_wrapper.c b/main/streams/plain_wrapper.c index 4abc5b558f..6a74f91c76 100644 --- a/main/streams/plain_wrapper.c +++ b/main/streams/plain_wrapper.c @@ -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) { |