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

ruby-changes:40102

From: nobu <ko1@a...>
Date: Sun, 18 Oct 2015 14:51:49 +0900 (JST)
Subject: [ruby-changes:40102] nobu:r52183 (trunk): random.c: comment [ci skip]

nobu	2015-10-18 14:51:44 +0900 (Sun, 18 Oct 2015)

  New Revision: 52183

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

  Log:
    random.c: comment [ci skip]
    
    * random.c (fill_random_bytes_urandom): fix comment typos.

  Modified files:
    trunk/random.c
Index: random.c
===================================================================
--- random.c	(revision 52182)
+++ random.c	(revision 52183)
@@ -456,9 +456,9 @@ static int https://github.com/ruby/ruby/blob/trunk/random.c#L456
 fill_random_bytes_urandom(void *seed, size_t size)
 {
     /*
-      O_NONBLOCK and O_NOCTTY is meaningless if /dev/urandom correctly point
-      to urandom device. But it protect from several strange hazard if
-      /dev/urandom is not urandom device.
+      O_NONBLOCK and O_NOCTTY is meaningless if /dev/urandom correctly points
+      to a urandom device. But it protects from several strange hazard if
+      /dev/urandom is not a urandom device.
     */
     int fd = rb_cloexec_open("/dev/urandom",
 # ifdef O_NONBLOCK

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

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