*--eptr = '#';
*--eptr = '%';
- {
- RESTORE_NUMERIC_STANDARD();
- (void)sprintf(PL_efloatbuf, eptr, nv);
- RESTORE_NUMERIC_LOCAL();
- }
-
+ (void)sprintf(PL_efloatbuf, eptr, nv);
+
eptr = PL_efloatbuf;
elen = strlen(PL_efloatbuf);
break;
print "# testing 116 failed for locale '$Locale' for characters @f\n"
if @f;
}
+
}
# Recount the errors.
}
}
-# Tell which locales ere okay.
+# Tell which locales were okay.
if ($didwarn) {
my @s;
foreach my $l (@Locale) {
my $p = 0;
- foreach my $t (102..102) {
+ foreach my $t (102..116) {
$p++ if $Problem{$t}{$l};
}
push @s, $l if $p == 0;
}
- my $s = join(" ", @s);
- $s =~ s/(.{50,60}) /$1\n#\t/g;
-
- warn
- "# The following locales\n#\n",
- "#\t", $s, "\n#\n",
- "# tested okay.\n#\n",
+ if (@s) {
+ my $s = join(" ", @s);
+ $s =~ s/(.{50,60}) /$1\n#\t/g;
+
+ warn
+ "# The following locales\n#\n",
+ "#\t", $s, "\n#\n",
+ "# tested okay.\n#\n",
+ } else {
+ warn "# None of your locales was fully okay.\n";
+ }
}
# eof