[php-src] PHP-8.6: [`%pS` migration] Use `%pS` in ext/phar/tar.c

From: Date: Mon, 05 Oct 2026 06:53:10 +0000
Subject: [php-src] PHP-8.6: [`%pS` migration] Use `%pS` in ext/phar/tar.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-141947@lists.php.net to get a copy of this message
Author: Daniel Scherzer (DanielEScherzer) Date: 2026-10-04T22:59:54-07:00 Commit: https://github.com/php/php-src/commit/686b5971022f762f33c9e0ad4aed46a62a2100a1 Raw diff: https://github.com/php/php-src/commit/686b5971022f762f33c9e0ad4aed46a62a2100a1.diff [%pS migration] Use %pS in ext/phar/tar.c Changed paths: M ext/phar/tar.c Diff: diff --git a/ext/phar/tar.c b/ext/phar/tar.c index d1858511ee68..3ab23c81cc0a 100644 --- a/ext/phar/tar.c +++ b/ext/phar/tar.c @@ -1009,7 +1009,7 @@ ZEND_ATTRIBUTE_NONNULL static int phar_tar_setupmetadata(zval *zv, void *argumen } /* now we are dealing with regular files, so look for metadata */ - zend_string *lookfor = zend_strpprintf_unchecked(0, ".phar/.metadata/%S/.metadata.bin", entry->filename); + zend_string *lookfor = zend_strpprintf(0, ".phar/.metadata/%pS/.metadata.bin", entry->filename); if (!phar_metadata_tracker_has_data(&entry->metadata_tracker, entry->is_persistent)) { zend_hash_del(&entry->phar->manifest, lookfor);

« previous php.cvs (#141947) next »