This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Data::Dumper: Fix wrong #if
authorKarl Williamson <khw@cpan.org>
Mon, 2 Jun 2014 21:00:05 +0000 (15:00 -0600)
committerKarl Williamson <khw@cpan.org>
Thu, 5 Jun 2014 18:23:02 +0000 (12:23 -0600)
The code being conditionally compiled is for LC_COLLATE, not LC_NUMERIC

dist/Data-Dumper/Dumper.xs

index 03515ae..2aeb11a 100644 (file)
@@ -837,7 +837,7 @@ DD_dump(pTHX_ SV *val, const char *name, STRLEN namelen, SV *retval, HV *seenhv,
                        (void)SvREFCNT_inc(sv);
                        av_push(keys, sv);
                    }
-# ifdef USE_LOCALE_NUMERIC
+# ifdef USE_LOCALE_COLLATE
 #       ifdef IN_LC     /* Use this if available */
                     if (IN_LC(LC_COLLATE))
 #       else