ruby-changes:31046
From: nobu <ko1@a...>
Date: Thu, 3 Oct 2013 03:20:24 +0900 (JST)
Subject: [ruby-changes:31046] nobu:r43125 (trunk): * ext/thread/thread.c (ALIAS_GLOBAL_CONST): fix typo, GLOBCAL.
nobu 2013-10-03 03:20:17 +0900 (Thu, 03 Oct 2013) New Revision: 43125 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=43125 Log: * ext/thread/thread.c (ALIAS_GLOBAL_CONST): fix typo, GLOBCAL. Modified files: trunk/ext/thread/thread.c Index: ext/thread/thread.c =================================================================== --- ext/thread/thread.c (revision 43124) +++ ext/thread/thread.c (revision 43125) @@ -511,7 +511,7 @@ void https://github.com/ruby/ruby/blob/trunk/ext/thread/thread.c#L511 Init_thread(void) { #if UNDER_THREAD -#define ALIAS_GLOBCAL_CONST(name) do { \ +#define ALIAS_GLOBAL_CONST(name) do { \ ID id = rb_intern_const(#name); \ if (!rb_const_defined_at(rb_cObject, id)) { \ rb_const_set(rb_cObject, id, rb_c##name); \ @@ -519,7 +519,7 @@ Init_thread(void) https://github.com/ruby/ruby/blob/trunk/ext/thread/thread.c#L519 } while (0) #define OUTER rb_cThread #else -#define ALIAS_GLOBCAL_CONST(name) do { /* nothing */ } while (0) +#define ALIAS_GLOBAL_CONST(name) do { /* nothing */ } while (0) #define OUTER 0 #endif @@ -569,7 +569,7 @@ Init_thread(void) https://github.com/ruby/ruby/blob/trunk/ext/thread/thread.c#L569 rb_alias(rb_cSizedQueue, rb_intern("shift"), rb_intern("pop")); rb_provide("thread.rb"); - ALIAS_GLOBCAL_CONST(ConditionVariable); - ALIAS_GLOBCAL_CONST(Queue); - ALIAS_GLOBCAL_CONST(SizedQueue); + ALIAS_GLOBAL_CONST(ConditionVariable); + ALIAS_GLOBAL_CONST(Queue); + ALIAS_GLOBAL_CONST(SizedQueue); } -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/