[#1378] differences between Module and Class ? — Mathieu Bouchard <matju@...>

25 messages 2003/08/11
[#1387] Re: differences between Module and Class ? — matz@... (Yukihiro Matsumoto) 2003/08/12

Hi,

[#1442] Re: differences between Module and Class ? — Mathieu Bouchard <matju@...> 2003/08/21

[#1406] _id2ref bug? — Ryan Pavlik <rpav@...>

While debugging some caching code, I've come across a segfault related

22 messages 2003/08/14
[#1407] Re: _id2ref bug? — matz@... (Yukihiro Matsumoto) 2003/08/14

Hi,

[#1413] Re: _id2ref bug? (REPRODUCED, short) — Ryan Pavlik <rpav@...> 2003/08/14

On Fri, 15 Aug 2003 01:57:18 +0900

Bug fix for check_uint() in numeric.c

From: "lyle@..." <lyle@...>
Date: 2003-08-27 18:53:37 UTC
List: ruby-core #1486
An FXRuby user discovered this problem when running some of the FXRuby
examples on his DEC Unix box. He has not yet confirmed for me that the patch
below fixes the problem, but I am pretty sure that this is it.

--- numeric.c   4 Aug 2003 05:28:50 -0000       1.94
+++ numeric.c   27 Aug 2003 18:49:42 -0000
@@ -1024,8 +1024,8 @@
 check_uint(num)
     unsigned long num;
 {
-    if (num > INT_MAX) {
-       rb_raise(rb_eRangeError, "integer %lu too big to convert to `int'",
num);
+    if (num > UINT_MAX) {
+       rb_raise(rb_eRangeError, "integer %lu too big to convert to
`unsigned int'", num);
     }
 }


In This Thread

Prev Next