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

ruby-changes:27408

From: zzak <ko1@a...>
Date: Sun, 24 Feb 2013 14:24:00 +0900 (JST)
Subject: [ruby-changes:27408] zzak:r39460 (trunk): * thread.c: Grammar for #backtrace_locations and ::handle_interrupt

zzak	2013-02-24 14:23:51 +0900 (Sun, 24 Feb 2013)

  New Revision: 39460

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

  Log:
    * thread.c: Grammar for #backtrace_locations and ::handle_interrupt

  Modified files:
    trunk/ChangeLog
    trunk/thread.c

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 39459)
+++ ChangeLog	(revision 39460)
@@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Wed Feb 20 14:23:00 2013  Zachary Scott  <zachary@z...>
+
+	* thread.c: Grammar for #backtrace_locations and ::handle_interrupt
+
 Sun Feb 24 13:35:57 2013  Nobuyoshi Nakada  <nobu@r...>
 
 	* vm_insnhelper.c (vm_call_method): block level control frame does not
Index: thread.c
===================================================================
--- thread.c	(revision 39459)
+++ thread.c	(revision 39460)
@@ -1640,7 +1640,7 @@ handle_interrupt_arg_check_i(VALUE key, https://github.com/ruby/ruby/blob/trunk/thread.c#L1640
  *   th.raise "stop"
  *
  * While we are ignoring the RuntimeError exception, it's safe to write our
- * resource allocation code. Then in the ensure block is where you can safely
+ * resource allocation code. Then, the ensure block is where we can safely
  * deallocate your resources.
  *
  * ==== Guarding from TimeoutError
@@ -4853,8 +4853,8 @@ rb_thread_backtrace_m(int argc, VALUE *a https://github.com/ruby/ruby/blob/trunk/thread.c#L4853
  *
  * See Thread::Backtrace::Location for more information.
  *
- * This method behaves similarly to Kernel#caller_locations except for a
- * specific thread.
+ * This method behaves similarly to Kernel#caller_locations except it applies
+ * to a specific thread.
  */
 static VALUE
 rb_thread_backtrace_locations_m(int argc, VALUE *argv, VALUE thval)

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

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