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

ruby-changes:47804

From: kazu <ko1@a...>
Date: Fri, 15 Sep 2017 21:03:48 +0900 (JST)
Subject: [ruby-changes:47804] kazu:r59922 (trunk): Fix typos [ci skip]

kazu	2017-09-15 21:03:42 +0900 (Fri, 15 Sep 2017)

  New Revision: 59922

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=59922

  Log:
    Fix typos [ci skip]

  Modified files:
    trunk/vm_dump.c
Index: vm_dump.c
===================================================================
--- vm_dump.c	(revision 59921)
+++ vm_dump.c	(revision 59922)
@@ -466,7 +466,7 @@ darwin_sigtramp: https://github.com/ruby/ruby/blob/trunk/vm_dump.c#L466
 	unw_set_reg(&cursor, UNW_X86_64_R15, uctx->uc_mcontext->__ss.__r15);
 	ip = uctx->uc_mcontext->__ss.__rip;
 
-	/* There's 4 cases for SEGV:
+	/* There're 4 cases for SEGV:
 	 * (1) called invalid address
 	 * (2) read or write invalid address
 	 * (3) received signal
@@ -487,7 +487,7 @@ darwin_sigtramp: https://github.com/ruby/ruby/blob/trunk/vm_dump.c#L487
 	 * Same as (2).
 	 * (4) received signal in kernel
 	 * In this case saved ip points just after syscall, but registers are
-	 * already overwriten by kernel. To fix register consistency,
+	 * already overwritten by kernel. To fix register consistency,
 	 * skip libc's kernel wrapper.
 	 * To detect this case, just previous two bytes of ip is "\x0f\x05",
 	 * syscall instruction of x86_64.

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

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