From 8258a00d5cce9506d5e22bf0c1f666729e3735db Mon Sep 17 00:00:00 2001 From: matz Date: Thu, 20 May 2004 04:28:36 +0000 Subject: * numeric.c (flo_eq): alway check if operands are NaN. [ruby-list:39685] * lib/cgi/session.rb: use LOCK_SH to read, and a few other improvements. [ruby-core:02328] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6371 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- numeric.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'numeric.c') diff --git a/numeric.c b/numeric.c index 2d33b49ba..92a435df1 100644 --- a/numeric.c +++ b/numeric.c @@ -833,9 +833,7 @@ flo_eq(x, y) return num_equal(x, y); } a = RFLOAT(x)->value; -#if defined __BORLANDC__ if (isnan(a) || isnan(b)) return Qfalse; -#endif return (a == b)?Qtrue:Qfalse; } -- cgit