[前][次][番号順一覧][スレッド一覧]

ruby-changes:30592

From: nobu <ko1@a...>
Date: Fri, 23 Aug 2013 22:12:55 +0900 (JST)
Subject: [ruby-changes:30592] nobu:r42671 (trunk): process.c: no symbol cache

nobu	2013-08-23 22:12:46 +0900 (Fri, 23 Aug 2013)

  New Revision: 42671

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=42671

  Log:
    process.c: no symbol cache
    
    * process.c (rb_intern): no symbol cache while initialization.

  Modified files:
    trunk/ChangeLog
    trunk/process.c
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 42670)
+++ ChangeLog	(revision 42671)
@@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Fri Aug 23 22:12:13 2013  Nobuyoshi Nakada  <nobu@r...>
+
+	* process.c (rb_intern): no symbol cache while initialization.
+
 Fri Aug 23 22:07:45 2013  Nobuyoshi Nakada  <nobu@r...>
 
 	* configure.in (clock_t): needs time.h.
Index: process.c
===================================================================
--- process.c	(revision 42670)
+++ process.c	(revision 42671)
@@ -7092,6 +7092,8 @@ VALUE rb_mProcID_Syscall; https://github.com/ruby/ruby/blob/trunk/process.c#L7092
 void
 Init_process(void)
 {
+#undef rb_intern
+#define rb_intern(str) rb_intern_const(str)
     rb_define_virtual_variable("$?", rb_last_status_get, 0);
     rb_define_virtual_variable("$$", get_pid, 0);
     rb_define_global_function("exec", rb_f_exec, -1);

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]