[php-src] PR #25233: Fix GH-25232: ftruncate() does not invalidate stat cache

From: Date: Fri, 06 Nov 2026 08:07:17 +0000
Subject: [php-src] PR #25233: Fix GH-25232: ftruncate() does not invalidate stat cache
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-40346@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/25233 Author: lazerg The plain wrapper already clears the stat cache after reads, writes and flushes, but not after truncating, so filesize() kept returning the old size after ftruncate() or SplFileObject::ftruncate(). It now clears it on a successful truncate too. Fixes #25232

« previous php.git-pulls (#40346) next »