summaryrefslogtreecommitdiff
path: root/intrpvar.h
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-01-30 20:26:33 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-01-30 20:26:33 +0000
commiteff180cdf66484c41f3aacf26a4fd81d2be06de0 (patch)
tree41b13d1fdeacac1cc47a39c570a00084458e0a0c /intrpvar.h
parent1d61552279452016689faf899b5e1f418a500278 (diff)
downloadperl-eff180cdf66484c41f3aacf26a4fd81d2be06de0.tar.gz
Fix for the fa_IR locale failure. The reason for the failure
was that Perl was assuming the decimal separator aka the radix separator is one character. The Farsi-Iranian locale crushed that bad assumption since there the separator is 'Momayyez', glyphwise looking somewhat like a slash, and in Unicode UTF-8 encoded in two bytes, 0xd9 0xab. p4raw-id: //depot/perl@8625
Diffstat (limited to 'intrpvar.h')
-rw-r--r--intrpvar.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/intrpvar.h b/intrpvar.h
index 8b2aa29321..8ecd10ffed 100644
--- a/intrpvar.h
+++ b/intrpvar.h
@@ -362,8 +362,8 @@ PERLVARI(Inumeric_standard, bool, TRUE)
/* Assume simple numerics */
PERLVARI(Inumeric_local, bool, TRUE)
/* Assume local numerics */
-PERLVAR(Inumeric_radix, char)
- /* The radix character if not '.' */
+PERLVAR(Inumeric_radix, SV *)
+ /* The radix separator if not '.' */
#endif /* !USE_LOCALE_NUMERIC */