ruby-changes:5471
From: shyouhei <ko1@a...>
Date: Sun, 8 Jun 2008 05:03:46 +0900 (JST)
Subject: [ruby-changes:5471] Ruby:r16974 (ruby_1_8_6): merge revision(s) 14095:
shyouhei 2008-06-08 05:03:32 +0900 (Sun, 08 Jun 2008) New Revision: 16974 Modified files: branches/ruby_1_8_6/ChangeLog branches/ruby_1_8_6/bignum.c branches/ruby_1_8_6/version.h Log: merge revision(s) 14095: * bignum.c (rb_cstr_to_inum): trailing spaces may exist at sqeezing preceeding 0s. [ruby-core:13873] http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8_6/ChangeLog?r1=16974&r2=16973&diff_format=u http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8_6/version.h?r1=16974&r2=16973&diff_format=u http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8_6/bignum.c?r1=16974&r2=16973&diff_format=u Index: ruby_1_8_6/ChangeLog =================================================================== --- ruby_1_8_6/ChangeLog (revision 16973) +++ ruby_1_8_6/ChangeLog (revision 16974) @@ -1,3 +1,8 @@ +Sun Jun 8 05:02:25 2008 Nobuyoshi Nakada <nobu@r...> + + * bignum.c (rb_cstr_to_inum): trailing spaces may exist at sqeezing + preceeding 0s. [ruby-core:13873] + Sun Jun 8 04:58:05 2008 Nobuyoshi Nakada <nobu@r...> * eval.c (error_print): put newline unless multiple line message ends Index: ruby_1_8_6/version.h =================================================================== --- ruby_1_8_6/version.h (revision 16973) +++ ruby_1_8_6/version.h (revision 16974) @@ -2,7 +2,7 @@ #define RUBY_RELEASE_DATE "2008-06-08" #define RUBY_VERSION_CODE 186 #define RUBY_RELEASE_CODE 20080608 -#define RUBY_PATCHLEVEL 155 +#define RUBY_PATCHLEVEL 156 #define RUBY_VERSION_MAJOR 1 #define RUBY_VERSION_MINOR 8 Index: ruby_1_8_6/bignum.c =================================================================== --- ruby_1_8_6/bignum.c (revision 16973) +++ ruby_1_8_6/bignum.c (revision 16974) @@ -446,7 +446,7 @@ } if (*str == '0') { /* squeeze preceeding 0s */ while (*++str == '0'); - if (!*str) --str; + if (!(c = *str) || ISSPACE(c)) --str; } c = *str; c = conv_digit(c); -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/