|
|
|
@ -1302,7 +1302,7 @@ static int php_plain_files_rmdir(php_stream_wrapper *wrapper, const char *url, i |
|
|
|
return 0; |
|
|
|
} |
|
|
|
|
|
|
|
#if PHP_WIN32 |
|
|
|
#ifdef PHP_WIN32 |
|
|
|
if (!php_win32_check_trailing_space(url, (int)strlen(url))) { |
|
|
|
php_error_docref1(NULL, url, E_WARNING, "%s", strerror(ENOENT)); |
|
|
|
return 0; |
|
|
|
@ -1329,11 +1329,11 @@ static int php_plain_files_metadata(php_stream_wrapper *wrapper, const char *url |
|
|
|
#endif |
|
|
|
mode_t mode; |
|
|
|
int ret = 0; |
|
|
|
#if PHP_WIN32 |
|
|
|
#ifdef PHP_WIN32 |
|
|
|
int url_len = (int)strlen(url); |
|
|
|
#endif |
|
|
|
|
|
|
|
#if PHP_WIN32 |
|
|
|
#ifdef PHP_WIN32 |
|
|
|
if (!php_win32_check_trailing_space(url, url_len)) { |
|
|
|
php_error_docref1(NULL, url, E_WARNING, "%s", strerror(ENOENT)); |
|
|
|
return 0; |
|
|
|
|