From fb3bd70a0c39a3c8287958cbf2c4cd6d05805be5 Mon Sep 17 00:00:00 2001 From: ocean Date: Fri, 21 Oct 2005 06:28:41 +0000 Subject: * bignum.c (bignew_1): convertion from `int' to `char' discards upper bits, (ie. (char)0xff00 -> 0) so it's better to test if nonzero and set 0 or 1 instead of simply casting ... as a flag usage. (but I believe this won't cause actual bug in current implementation) [ruby-dev:27055] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9432 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 2adade6fb..fc85df3e6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +Fri Oct 21 15:23:23 2005 Hirokazu Yamamoto + + * bignum.c (bignew_1): convertion from `int' to `char' discards + upper bits, (ie. (char)0xff00 -> 0) so it's better to test if + nonzero and set 0 or 1 instead of simply casting ... as a flag usage. + (but I believe this won't cause actual bug in current implementation) + [ruby-dev:27055] + Thu Oct 20 22:22:49 2005 Nobuyoshi Nakada * parser.y (struct parser_params): parser never modify input string. -- cgit