ruby-changes:6141
From: shyouhei <ko1@a...>
Date: Sun, 29 Jun 2008 17:10:25 +0900 (JST)
Subject: [ruby-changes:6141] Ruby:r17652 (ruby_1_8_7): merge revision(s) 17074:
shyouhei 2008-06-29 17:10:06 +0900 (Sun, 29 Jun 2008) New Revision: 17652 Modified files: branches/ruby_1_8_7/ChangeLog branches/ruby_1_8_7/util.c branches/ruby_1_8_7/version.h Log: merge revision(s) 17074: * util.c (ruby_strtod): ruby_strtod don't allow a trailing decimal point like "7.". [ruby-dev:34835] [ruby-dev:35009] http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8_7/util.c?r1=17652&r2=17651&diff_format=u http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8_7/ChangeLog?r1=17652&r2=17651&diff_format=u http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8_7/version.h?r1=17652&r2=17651&diff_format=u Index: ruby_1_8_7/util.c =================================================================== --- ruby_1_8_7/util.c (revision 17651) +++ ruby_1_8_7/util.c (revision 17652) @@ -2171,6 +2171,8 @@ } #endif if (c == '.') { + if (!ISDIGIT(s[1])) + goto dig_done; c = *++s; if (!nd) { for (; c == '0'; c = *++s) Index: ruby_1_8_7/ChangeLog =================================================================== --- ruby_1_8_7/ChangeLog (revision 17651) +++ ruby_1_8_7/ChangeLog (revision 17652) @@ -1,3 +1,8 @@ +Sun Jun 29 17:09:48 2008 wanabe <s.wanabe@g...> + + * util.c (ruby_strtod): ruby_strtod don't allow a trailing + decimal point like "7.". [ruby-dev:34835] [ruby-dev:35009] + Sat Jun 28 19:23:40 2008 URABE Shyouhei <shyouhei@r...> * class.c (clone_method): use rb_copy_node_scope. Index: ruby_1_8_7/version.h =================================================================== --- ruby_1_8_7/version.h (revision 17651) +++ ruby_1_8_7/version.h (revision 17652) @@ -1,15 +1,15 @@ #define RUBY_VERSION "1.8.7" -#define RUBY_RELEASE_DATE "2008-06-28" +#define RUBY_RELEASE_DATE "2008-06-29" #define RUBY_VERSION_CODE 187 -#define RUBY_RELEASE_CODE 20080628 -#define RUBY_PATCHLEVEL 23 +#define RUBY_RELEASE_CODE 20080629 +#define RUBY_PATCHLEVEL 24 #define RUBY_VERSION_MAJOR 1 #define RUBY_VERSION_MINOR 8 #define RUBY_VERSION_TEENY 7 #define RUBY_RELEASE_YEAR 2008 #define RUBY_RELEASE_MONTH 6 -#define RUBY_RELEASE_DAY 28 +#define RUBY_RELEASE_DAY 29 #ifdef RUBY_EXTERN RUBY_EXTERN const char ruby_version[]; -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/