This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
locale.c: Handle input parameter
authorKarl Williamson <khw@cpan.org>
Thu, 28 Sep 2023 15:07:02 +0000 (09:07 -0600)
committerKarl Williamson <khw@cpan.org>
Mon, 9 Oct 2023 00:52:19 +0000 (18:52 -0600)
commit54b519ce9f48eefc96f484f5b7b9596382829294
tree23f491302916e1833a814bfc24f669140e8b5f02
parent19724077f55f950da374a2d33fb5de8f5afe4939
locale.c: Handle input parameter

calculate_LC_ALL_string() takes an input parameter specifying where the
caller wants the return value to be placed.  It wasn't handling one of
the possible values for that parameter.  This was spotted by Tony Cook.

I stashed the code that does the handling during a 'rebase -i', and
forgot to unstash it.

This fixes #20810
locale.c