ruby-changes:4268
From: ko1@a...
Date: Wed, 12 Mar 2008 17:33:56 +0900 (JST)
Subject: [ruby-changes:4268] nobu - Ruby:r15758 (trunk): * object.c (rb_cstr_to_dbl): fix for a mere underscore.
nobu 2008-03-12 17:33:37 +0900 (Wed, 12 Mar 2008) New Revision: 15758 Modified files: trunk/ChangeLog trunk/object.c Log: * object.c (rb_cstr_to_dbl): fix for a mere underscore. http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=15758&r2=15757&diff_format=u http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/object.c?r1=15758&r2=15757&diff_format=u Index: ChangeLog =================================================================== --- ChangeLog (revision 15757) +++ ChangeLog (revision 15758) @@ -1,3 +1,7 @@ +Wed Mar 12 17:33:34 2008 Nobuyoshi Nakada <nobu@r...> + + * object.c (rb_cstr_to_dbl): fix for a mere underscore. + Wed Mar 12 14:47:07 2008 Nobuyoshi Nakada <nobu@r...> * eval_intern.h (rb_thread_raised_set): use generic flags. Index: object.c =================================================================== --- object.c (revision 15757) +++ object.c (revision 15758) @@ -2064,7 +2064,7 @@ char *e = buf + sizeof(buf) - 1; char prev = 0; - while (p < end && n < e) *n++ = *p++; + while (p < end && n < e) prev = *n++ = *p++; while (*p) { if (*p == '_') { /* remove underscores between digits */ -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/