In perl.git, the branch smoke-me/khw-locale has been updated

<http://perl5.git.perl.org/perl.git/commitdiff/be8c0a74f5866c91c8bb187afe7c82f8f1c43f68?hp=151d06f01c4384e6963b1de0ae063e31625a0a38>

- Log -----------------------------------------------------------------
commit be8c0a74f5866c91c8bb187afe7c82f8f1c43f68
Author: James E Keenan <[email protected]>
Date:   Fri Sep 8 21:55:09 2017 -0400

    Correct syntax error in locale.c.
-----------------------------------------------------------------------

Summary of changes:
 locale.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/locale.c b/locale.c
index ec8a1bfa0c..96cc0fe66b 100644
--- a/locale.c
+++ b/locale.c
@@ -1201,9 +1201,8 @@ Perl_langinfo(const int item)
 
     const char * retval;
 
-        if (item == PERL_RADIXCHAR || item == PERL_THOUSEP) {
-            setlocale(LC_NUMERIC, PL_numeric_name);
-        }
+    if (item == PERL_RADIXCHAR || item == PERL_THOUSEP) {
+        setlocale(LC_NUMERIC, PL_numeric_name);
     }
 
     retval = nl_langinfo(item);

--
Perl5 Master Repository

Reply via email to