ruby-cvs:22956
From: usa ruby-lang.org
Date: Thu, 6 Mar 2008 15:44:43 +0900 (JST)
Subject: [ruby-cvs:22956] Ruby:r15716 (trunk): * sprintf.c (rb_str_format): casting double to long is undefined
usa 2008-03-06 15:44:41 +0900 (Thu, 06 Mar 2008)
New Revision: 15716
Modified files:
trunk/ChangeLog
trunk/sprintf.c
Log:
* sprintf.c (rb_str_format): casting double to long is undefined
if the interger part of double is out of the range of long.
(fix previous commit).
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=15716&r2=15715&diff_format=u
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/sprintf.c?r1=15716&r2=15715&diff_format=u