[macruby-changes] [4552] MacRuby/trunk/gc.c

source_changes at macosforge.org source_changes at macosforge.org
Tue Sep 28 15:32:15 PDT 2010


Revision: 4552
          http://trac.macosforge.org/projects/ruby/changeset/4552
Author:   lsansonetti at apple.com
Date:     2010-09-28 15:32:14 -0700 (Tue, 28 Sep 2010)
Log Message:
-----------
this is always false

Modified Paths:
--------------
    MacRuby/trunk/gc.c

Modified: MacRuby/trunk/gc.c
===================================================================
--- MacRuby/trunk/gc.c	2010-09-28 14:01:57 UTC (rev 4551)
+++ MacRuby/trunk/gc.c	2010-09-28 22:32:14 UTC (rev 4552)
@@ -155,9 +155,6 @@
 void *
 ruby_xrealloc(void *ptr, size_t size)
 {
-    if (size < 0) {
-	rb_raise(rb_eArgError, "negative re-allocation size");
-    }
     if (ptr == NULL) {
 	return ruby_xmalloc(size);
     }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20100928/00b65099/attachment.html>


More information about the macruby-changes mailing list