ruby-changes:7835
From: tadf <ko1@a...>
Date: Mon, 15 Sep 2008 14:04:20 +0900 (JST)
Subject: [ruby-changes:7835] Ruby:r19356 (trunk): fixed the previous commit.
tadf 2008-09-15 14:04:09 +0900 (Mon, 15 Sep 2008) New Revision: 19356 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=19356 Log: fixed the previous commit. Modified files: trunk/rational.c Index: rational.c =================================================================== --- rational.c (revision 19355) +++ rational.c (revision 19356) @@ -1103,7 +1103,7 @@ nurat_hash(VALUE self) { get_dat1(self); - return f_xor(dat->num, dat->den); + return f_xor(f_hash(dat->num), f_hash(dat->den)); } static VALUE -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/