1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

Merge branch 'PHP-8.4' into PHP-8.5

* PHP-8.4:
  Fix build
This commit is contained in:
Niels Dossche
2025-10-01 10:54:46 +02:00

View File

@@ -1172,13 +1172,13 @@ nostub:
zend_hash_apply_with_argument(&phar->manifest, phar_tar_writeheaders, (void *) &pass);
if (error && *error) {
if (closeoldfile) {
if (must_close_old_file) {
php_stream_close(oldfile);
}
/* on error in the hash iterator above, error is set */
php_stream_close(newfile);
return EOF;
return;
}
/* add signature for executable tars or tars explicitly set with setSignatureAlgorithm */