summaryrefslogtreecommitdiff
path: root/bignum.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-01-04 14:20:35 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-01-04 14:20:35 +0000
commit1d6e0f8281a3b00829f8360c9fcf58b69788d401 (patch)
tree4026a4e1e49de6e28ee6c420b22d89328f7efb09 /bignum.c
parent566aa6625327e534c4941f2c2b6ca6c4f06162f3 (diff)
forgot to commit everything bug ChangeLog
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@1960 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bignum.c')
-rw-r--r--bignum.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bignum.c b/bignum.c
index 2c70b4b8f0..ee119f2d1d 100644
--- a/bignum.c
+++ b/bignum.c
@@ -252,8 +252,8 @@ rb_cstr2inum(str, base)
if (*end == '_') goto bigparse;
if (badcheck) {
- if (end == str) goto bad; /* no number */
while (*end && ISSPACE(*end)) end++;
+ if (end == str) goto bad; /* no number */
if (*end) { /* trailing garbage */
bad:
rb_raise(rb_eArgError, "invalid value for Integer: \"%s\"", s);