summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-08-27 19:01:04 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-08-27 19:01:04 +0000
commit7af28c953bc1be227f44795a204f9b0ffd9534a5 (patch)
tree357b02faeb5807d639e4dd717029c49f67fdf471
parent6b1c5a5939c39e6eae08ab9256bb24f40947b692 (diff)
downloaddrakx-backup-do-not-use-7af28c953bc1be227f44795a204f9b0ffd9534a5.tar
drakx-backup-do-not-use-7af28c953bc1be227f44795a204f9b0ffd9534a5.tar.gz
drakx-backup-do-not-use-7af28c953bc1be227f44795a204f9b0ffd9534a5.tar.bz2
drakx-backup-do-not-use-7af28c953bc1be227f44795a204f9b0ffd9534a5.tar.xz
drakx-backup-do-not-use-7af28c953bc1be227f44795a204f9b0ffd9534a5.zip
(setlocale): do not set LC_NUMERIC
-rw-r--r--perl-install/c/stuff.xs.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/c/stuff.xs.pm b/perl-install/c/stuff.xs.pm
index 23d12a0ca..d0e5bf2a5 100644
--- a/perl-install/c/stuff.xs.pm
+++ b/perl-install/c/stuff.xs.pm
@@ -177,6 +177,7 @@ void
setlocale()
CODE:
setlocale(LC_ALL, "");
+ setlocale(LC_NUMERIC, "C"); /* otherwise eval "1.5" returns 1 in fr_FR for example */
char *
bindtextdomain(domainname, dirname)