mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
- WS
This commit is contained in:
parent
6d6645b3f8
commit
ada5423308
1 changed files with 2 additions and 2 deletions
|
@ -1117,7 +1117,7 @@ static int php_plain_files_rename(php_stream_wrapper *wrapper, char *url_from, c
|
|||
#else
|
||||
php_error_docref2(NULL TSRMLS_CC, url_from, url_to, E_WARNING, "%s", strerror(errno));
|
||||
#endif
|
||||
return 0;
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* Clear stat cache (and realpath cache) */
|
||||
|
@ -1199,7 +1199,7 @@ static int php_plain_files_mkdir(php_stream_wrapper *wrapper, char *dir, int mod
|
|||
if (*p == '\0') {
|
||||
*p = DEFAULT_SLASH;
|
||||
if ((*(p+1) != '\0') &&
|
||||
(ret = VCWD_MKDIR(buf, (mode_t)mode)) < 0) {
|
||||
(ret = VCWD_MKDIR(buf, (mode_t)mode)) < 0) {
|
||||
if (options & REPORT_ERRORS) {
|
||||
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", strerror(errno));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue