From c423d3cbf2b8413560c20cc44a4424e7c5062109 Mon Sep 17 00:00:00 2001 From: akr Date: Mon, 12 Dec 2005 03:04:53 +0000 Subject: precedes registering global VALUE variables before initializing it. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9675 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- gc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gc.c') diff --git a/gc.c b/gc.c index 46523dcdc4..41793890ee 100644 --- a/gc.c +++ b/gc.c @@ -1909,6 +1909,6 @@ Init_GC(void) source_filenames = st_init_strtable(); - nomem_error = rb_exc_new2(rb_eNoMemError, "failed to allocate memory"); rb_global_variable(&nomem_error); + nomem_error = rb_exc_new2(rb_eNoMemError, "failed to allocate memory"); } -- cgit v1.2.3