diff options
| author | Nikita Popov <nikita.ppv@gmail.com> | 2019-06-06 11:46:23 +0200 |
|---|---|---|
| committer | Nikita Popov <nikita.ppv@gmail.com> | 2019-06-06 11:46:23 +0200 |
| commit | 3372f2cf2cd90e899c3b412ec38f2eebc7e106b3 (patch) | |
| tree | d567dfee186362409ad950b7dff2fe8a6ce229b3 /Zend/zend_operators.c | |
| parent | b2b528b97325e243d6c18e55b3a5fcb1cf19641a (diff) | |
| download | php-git-3372f2cf2cd90e899c3b412ec38f2eebc7e106b3.tar.gz | |
php_zip_pcre: Match pattern before stating for directories
For two reasons: First, it's generally cheaper to match a regex than
perform a stat (especially on Windows). Second, it will not fail on
concurrent modification of a directory in parts that are not matched
by the pattern, such as the spurious failure in ext/zip/tests/bug72660.phpt.
Diffstat (limited to 'Zend/zend_operators.c')
0 files changed, 0 insertions, 0 deletions
