mirror of
https://github.com/php/php-src.git
synced 2025-08-18 15:08:55 +02:00
sync with pecl/phar, missed one line change
This commit is contained in:
parent
3ebb94f6a2
commit
046f8dba55
1 changed files with 2 additions and 2 deletions
|
@ -647,8 +647,8 @@ int phar_wrapper_rmdir(php_stream_wrapper *wrapper, char *url, int options, php_
|
|||
|
||||
if (!entry->is_deleted &&
|
||||
key_len > path_len &&
|
||||
memcmp(key, resource->path+1, path_len) == 0 &&
|
||||
IS_SLASH(key[path_len])) {
|
||||
memcmp(str_key, resource->path+1, path_len) == 0 &&
|
||||
IS_SLASH(str_key[path_len])) {
|
||||
php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "phar error: Directory not empty");
|
||||
if (entry->is_temp_dir) {
|
||||
efree(entry->filename);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue