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

ruby-changes:2619

From: ko1@a...
Date: 5 Dec 2007 16:50:59 +0900
Subject: [ruby-changes:2619] nobu - Ruby:r14110 (trunk): * thread.c (thread_initialize): fixed typo.

nobu	2007-12-05 16:43:08 +0900 (Wed, 05 Dec 2007)

  New Revision: 14110

  Modified files:
    trunk/thread.c

  Log:
    * thread.c (thread_initialize): fixed typo.

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/thread.c?r1=14110&r2=14109

Index: thread.c
===================================================================
--- thread.c	(revision 14109)
+++ thread.c	(revision 14110)
@@ -438,7 +438,7 @@
         if (!proc || !RTEST(loc = rb_proc_location(proc))) {
             rb_raise(rb_eThreadError, "already initialized thread");
         }
-	fn = RSTRING_PTR(RARRAY_PTR(loc)[0]);
+	file = RSTRING_PTR(RARRAY_PTR(loc)[0]);
 	if (NIL_P(line = RARRAY_PTR(loc)[1])) {
 	    rb_raise(rb_eThreadError, "already initialized thread - %s",
 		     file);

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

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