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

ruby-changes:27479

From: zzak <ko1@a...>
Date: Thu, 28 Feb 2013 02:43:45 +0900 (JST)
Subject: [ruby-changes:27479] zzak:r39530 (trunk): * vm.c: Typo in overview for example of Thread#status returning false

zzak	2013-02-28 02:43:25 +0900 (Thu, 28 Feb 2013)

  New Revision: 39530

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

  Log:
    * vm.c: Typo in overview for example of Thread#status returning false
      Reported by Lee Jarvis

  Modified files:
    trunk/ChangeLog
    trunk/vm.c

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 39529)
+++ ChangeLog	(revision 39530)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Thu Feb 28 02:42:00 2013  Zachary Scott  <zachary@z...>
+
+	* vm.c: Typo in overview for example of Thread#status returning false
+	  Reported by Lee Jarvis
+
 Wed Feb 27 22:54:27 2013  Tanaka Akira  <akr@f...>
 
 	* ext/socket/rubysocket.h (union_sockaddr): make it longer for SunOS
Index: vm.c
===================================================================
--- vm.c	(revision 39529)
+++ vm.c	(revision 39530)
@@ -2306,7 +2306,7 @@ Init_VM(void) https://github.com/ruby/ruby/blob/trunk/vm.c#L2306
      *	    thr = Thread.new { sleep }
      *	    thr.status # => "sleep"
      *	    thr.exit
-     *	    thr.status # => "false"
+     *	    thr.status # => false
      *
      *	You can also use #alive? to tell if the thread is running or sleeping,
      *	and #stop? if the thread is dead or sleeping.

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

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