Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix tests for glibc 2.39 #14097

Merged
merged 1 commit into from
May 1, 2024
Merged

Conversation

petk
Copy link
Member

@petk petk commented Apr 30, 2024

Glibc 2.39 has fixed inconsistent (mon_)grouping formats in localedata:

For en_AU locale now it returns array of 1 item instead of 2 for grouping and mon_grouping.

Since this is upstream change depending on the system, this only syncs tests for such case.

Steps to reproduce the issue:

  • run tests on Ubuntu 24.04

2.39 has fixed inconsistent (mon_)grouping formats in localedata:

* https://sourceware.org/git/?p=glibc.git;a=blob;f=NEWS;hb=refs/tags/glibc-2.39#l237
* https://sourceware.org/git/?p=glibc.git;a=blob;f=localedata/locales/en_AU;hb=refs/tags/glibc-2.39#l65

For en_AU locale now it returns array of 1 item instead of 2 for
grouping and mon_grouping.

Since this is upstream change depending on the system, this only syncs
tests for such case.
@petk petk merged commit b6b9eab into php:PHP-8.2 May 1, 2024
8 checks passed
@petk petk deleted the patch-localeconv-glibc-2.39 branch May 1, 2024 18:43
petk added a commit that referenced this pull request May 1, 2024
* PHP-8.2:
  Fix tests for glibc 2.39 (#14097)
petk added a commit that referenced this pull request May 1, 2024
* PHP-8.3:
  Fix tests for glibc 2.39 (#14097)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants