projects
/
p5sagit/p5-mst-13.2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Based on a patch by John E. Malberg: make TestInit.pm
[p5sagit/p5-mst-13.2.git]
/
numeric.c
diff --git
a/numeric.c
b/numeric.c
index
20fd7bd
..
34264f3
100644
(file)
--- a/
numeric.c
+++ b/
numeric.c
@@
-953,10
+953,9
@@
Perl_my_atof2(pTHX_ const char* orig, NV* value)
else if (!seen_dp && GROK_NUMERIC_RADIX(&s, send)) {
seen_dp = 1;
if (sig_digits > MAX_SIG_DIGITS) {
- ++s;
- while (isDIGIT(*s)) {
+ do {
++s;
- }
+ } while (isDIGIT(*s));
break;
}
}