diff options
author | Karl Williamson <khw@cpan.org> | 2014-06-06 14:43:04 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2014-06-07 10:24:59 -0600 |
commit | 8ee4b76954b91d3bb381880248e4b3e0fa5e65d5 (patch) | |
tree | 45ad9498343611ce04885d6f973de1e35c69b5f3 /locale.c | |
parent | 2376ab1f7929a7a9f33c6ed28ac0f7c3361894c2 (diff) | |
download | perl-8ee4b76954b91d3bb381880248e4b3e0fa5e65d5.tar.gz |
locale.c: Fix uncomplemented 'if' test
Somehow the ! in this if () got dropped, and there were no tests to
catch it. Now both are remedied.
Diffstat (limited to 'locale.c')
-rw-r--r-- | locale.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1414,7 +1414,7 @@ Perl_my_strerror(pTHX_ const int errnum) { * LC_MESSAGES */ #ifdef USE_LOCALE_MESSAGES - if (IN_LC(LC_MESSAGES)) { + if (! IN_LC(LC_MESSAGES)) { char * save_locale = setlocale(LC_MESSAGES, NULL); if (! ((*save_locale == 'C' && save_locale[1] == '\0') || strEQ(save_locale, "POSIX"))) |