summaryrefslogtreecommitdiff
path: root/sv.c
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2000-11-29 17:31:59 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2000-11-29 17:31:59 +0000
commit80f3f38871d8331c132474c2e6623f763620cb12 (patch)
treee058cfd78f93623cc818548ad1da6cd346923598 /sv.c
parent22633ac4d822d56571390c6ca915a7e5a37ef483 (diff)
downloadperl-80f3f38871d8331c132474c2e6623f763620cb12.tar.gz
Retract #7921, the patch shouldn't be needed.
p4raw-id: //depot/perl@7927
Diffstat (limited to 'sv.c')
-rw-r--r--sv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sv.c b/sv.c
index f4732e1743..d7b4c8b4a1 100644
--- a/sv.c
+++ b/sv.c
@@ -2038,7 +2038,7 @@ Perl_looks_like_number(pTHX_ SV *sv)
}
while (isSPACE(*s))
s++;
- if (s >= send || sawinf)
+ if (s >= send)
return numtype;
if (len == 10 && memEQ(sbegin, "0 but true", 10))
return IS_NUMBER_TO_INT_BY_ATOL;