Skip to content

[pull] master from php:master#549

Merged
pull[bot] merged 2 commits into
dolfly:masterfrom
php:master
Feb 10, 2026
Merged

[pull] master from php:master#549
pull[bot] merged 2 commits into
dolfly:masterfrom
php:master

Conversation

@pull

@pull pull Bot commented Feb 10, 2026

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

petk and others added 2 commits February 10, 2026 19:59
The AC_STRUCT_ST_BLOCKS expects fileblocks object to be compiled with
AC_LIBOBJ if stat.st_blocks is missing on the system. This can be
simplified with the usual AC_CHECK_MEMBERS since PHP is using the
stat.st_blocks (and stat.st_blksize) conditionally.

These members are mostly present on all POSIX-based systems except on
Windows these days.

This also removes the obsolete HAVE_ST_BLOCKS symbol:
https://git.savannah.gnu.org/cgit/autoconf.git/tree/lib/autoconf/types.m4?h=v2.72#n1055

Additionally, the st_blksize and st_blocks members are checked
conditionally with HAVE_ preprocessor macros. Instead of filtering
Windows specifically here, the preprocessor macros
HAVE_STRUCT_STAT_ST_BLKSIZE and HAVE_STRUCT_STAT_ST_BLOCKS can be used.
@pull pull Bot locked and limited conversation to collaborators Feb 10, 2026
@pull pull Bot added the ⤵️ pull label Feb 10, 2026
@pull pull Bot merged commit defc0be into dolfly:master Feb 10, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants