summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-01-28 11:08:28 +0000
committeryugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-01-28 11:08:28 +0000
commitb82c3200a111ca4a5092b6e754ccc23467921323 (patch)
tree2c2b19ff6e43a98ea96452ff612339a6d39f84ae
parent1efc4c1693f840315b4f85294e8439f3bf61ad63 (diff)
merges r21813 from trunk into ruby_1_9_1.
* math.c: SEGV is caused by implicit rb_to_float declaration test_complexrational.rb: [BUG] at IA-64 architecture git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@21842 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog5
-rw-r--r--math.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 1fa5051e95..876e1e1883 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Wed Jan 28 15:24:11 2009 TAKANO Mitsuhiro (takano32) <tak@no32.tk>
+
+ * math.c: SEGV is caused by implicit rb_to_float declaration
+ test_complexrational.rb: [BUG] in IA-64 architecture
+
Tue Jan 27 03:23:43 2009 Yukihiro Matsumoto <matz@ruby-lang.org>
* lib/mkmf.rb (create_makefile): should point correct path to
diff --git a/math.c b/math.c
index 63a386360a..c7e79c1a80 100644
--- a/math.c
+++ b/math.c
@@ -15,6 +15,7 @@
VALUE rb_mMath;
+extern VALUE rb_to_float(VALUE val);
#define Need_Float(x) (x) = rb_to_float(x)
#define Need_Float2(x,y) do {\
Need_Float(x);\