[php-src] PR #25659: Flock compat dead fallback

From: Date: Sun, 22 Nov 2026 20:54:44 +0000
Subject: [php-src] PR #25659: Flock compat dead fallback
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-40910@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/25659 Author: jorgsowa Remove dead no-lock flock fallbacks. php_flock() and the opcache file cache each had a fallback that silently skipped locking. It was only compiled on platforms without struct flock or flock(), and no supported platform lacks them. On non-Windows, struct flock is already required by opcache. - main/flock_compat: drop the HAVE_STRUCT_FLOCK check and the no-op stub. Use the fcntl implementation on all non-Windows platforms. - opcache: use flock() from flock_compat.h (which wraps fcntl when flock() is missing) instead of the no-op stub.

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