Make make_sunver.pl robust against non-C locales

* make_sunver.pl: Enforce C locale.

From-SVN: r196309
This commit is contained in:
Rainer Orth 2013-02-27 09:15:35 +00:00 committed by Rainer Orth
parent 436a956a80
commit d809887a66
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2013-02-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* make_sunver.pl: Enforce C locale.
2013-02-06 Richard Sandiford <rdsandiford@googlemail.com> 2013-02-06 Richard Sandiford <rdsandiford@googlemail.com>
* update-copyright.py: Add libdecnumber to the default list. * update-copyright.py: Add libdecnumber to the default list.

View File

@ -19,6 +19,10 @@
use FileHandle; use FileHandle;
use IPC::Open2; use IPC::Open2;
# Enforce C locale.
$ENV{'LC_ALL'} = "C";
$ENV{'LANG'} = "C";
# Input version script, GNU style. # Input version script, GNU style.
my $symvers = shift; my $symvers = shift;