diff options
author | Bram <perl-rt@wizbit.be> | 2022-07-25 18:53:22 +0200 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2022-07-25 12:58:53 -0600 |
commit | 71ce8c74528f69acac1ccbb56b5cc3d20ddba7dd (patch) | |
tree | 1da9f264e23ae254d89b73991396125bf3aacb7e /vms | |
parent | f9757a510d28a063aaf6e6503efaeb09604b2c96 (diff) | |
download | perl-71ce8c74528f69acac1ccbb56b5cc3d20ddba7dd.tar.gz |
Add whitespace in 'Setting locale failed' error
When LC_ALL doesn't exist(*) then the error message printed wasn't readable.
Before:
$ LC_ALL= LC_NUMERIC='aa_BB' LC_PAPER='cc_DD' ./perl -e1
perl: warning: Setting locale failed for the categories:
LC_NUMERICLC_PAPERperl: warning: Please check that your locale settings:
LANGUAGE = "en_US:en",
...
After:
$ LC_ALL= LC_NUMERIC='aa_BB' LC_PAPER='cc_DD' ./perl -e1
perl: warning: Setting locale failed for the categories:
LC_NUMERIC
LC_PAPER
perl: warning: Please check that your locale settings:
...
(The output got mangled in commit e5f10d4955)
(*) I faked this by adding '#undef LC_ALL' inside locale.c. This does
cause some test failure since some tests assume 'LC_ALL' is present.
Diffstat (limited to 'vms')
0 files changed, 0 insertions, 0 deletions