From 901bd5da86bf4bbae954b0856ffc67aebf120798 Mon Sep 17 00:00:00 2001 From: usa Date: Thu, 6 Mar 2008 06:20:48 +0000 Subject: * sprintf.c (rb_str_format): casting double to long is undefined if the interger part of double is out of the range of long. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15713 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index f277ed071..cf507ee2f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Thu Mar 6 15:16:55 2008 NAKAMURA Usaku + + * sprintf.c (rb_str_format): casting double to long is undefined + if the interger part of double is out of the range of long. + Thu Mar 6 15:11:40 2008 Nobuyoshi Nakada * sprintf.c (rb_str_format): ignore 0 flag for NaN and Inf. -- cgit