Skip to content

Conversation

@vlmarek
Copy link
Contributor

@vlmarek vlmarek commented Apr 15, 2025

Solaris setlocale(3C) returns composite locale prefixed by slash. For example "/en_US.UTF-8/C/C/C/C/C". See man page. We must remove it or this function will think that there is additional empty locale at the beginning of the string and the number of detected locales will not match expected LC_ALL_INDEX_.

This is pull request for issue #23195

@mauke
Copy link
Contributor

mauke commented Apr 15, 2025

You should run Porting/updateAUTHORS.pl and commit the results to add yourself to the list of perl authors. That should make the tests pass.

Solaris setlocale(3C) returns composite locale prefixed by slash. For example
"/en_US.UTF-8/C/C/C/C/C". See man page. We must remove it or this
function will think that there is additional empty locale at the
beginning of the string and the number of detected locales will not
match expected LC_ALL_INDEX_.
@vlmarek
Copy link
Contributor Author

vlmarek commented Apr 16, 2025

I have tested it on Solaris with your change just to be sure. All good. And I have updated the AUTHORS file. Thanks !

@khwilliamson khwilliamson merged commit 6f3f92b into Perl:blead Apr 17, 2025
33 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants