This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
toke.c, util.c: setlocale returns new locale, not old
authorKarl Williamson <public@khwilliamson.com>
Tue, 26 Apr 2011 03:01:47 +0000 (21:01 -0600)
committerRicardo Signes <rjbs@cpan.org>
Mon, 19 Dec 2011 02:52:02 +0000 (21:52 -0500)
commit909d37874ccef92b27d21a593cdff97325899d07
tree0c0b13bd2f029c1073ae457c61cc1f1f8fad2db4
parentecf16f8ce81c68e837abacea2d30af83208e8223
toke.c, util.c: setlocale returns new locale, not old

This means we have to call setlocale with a NULL second parameter
to get the correct old value; then call it with the new value
toke.c
util.c