From: Rainer Orth Date: Wed, 27 Feb 2013 09:15:35 +0000 (+0000) Subject: Make make_sunver.pl robust against non-C locales X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d809887a669e7c2c709d1ca37d2f0e44ecfdb341;p=gcc.git Make make_sunver.pl robust against non-C locales * make_sunver.pl: Enforce C locale. From-SVN: r196309 --- diff --git a/contrib/ChangeLog b/contrib/ChangeLog index 82abb602c8d..98834acb49f 100644 --- a/contrib/ChangeLog +++ b/contrib/ChangeLog @@ -1,3 +1,7 @@ +2013-02-27 Rainer Orth + + * make_sunver.pl: Enforce C locale. + 2013-02-06 Richard Sandiford * update-copyright.py: Add libdecnumber to the default list. diff --git a/contrib/make_sunver.pl b/contrib/make_sunver.pl index db0fe21ef43..8a90b1fea0d 100644 --- a/contrib/make_sunver.pl +++ b/contrib/make_sunver.pl @@ -19,6 +19,10 @@ use FileHandle; use IPC::Open2; +# Enforce C locale. +$ENV{'LC_ALL'} = "C"; +$ENV{'LANG'} = "C"; + # Input version script, GNU style. my $symvers = shift;