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

ruby-changes:54154

From: stomar <ko1@a...>
Date: Thu, 13 Dec 2018 07:04:53 +0900 (JST)
Subject: [ruby-changes:54154] stomar:r66375 (trunk): string.c: [DOC] fix typos

stomar	2018-12-13 07:04:48 +0900 (Thu, 13 Dec 2018)

  New Revision: 66375

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

  Log:
    string.c: [DOC] fix typos

  Modified files:
    trunk/string.c
Index: string.c
===================================================================
--- string.c	(revision 66374)
+++ string.c	(revision 66375)
@@ -9237,17 +9237,17 @@ rb_str_oct(VALUE str) https://github.com/ruby/ruby/blob/trunk/string.c#L9237
  *    * So-called "traditional" usage of <code>crypt(3)</code> is very
  *      very very weak.  According to its manpage, Linux's traditional
  *      <code>crypt(3)</code> output has only 2**56 variations; too
- *      easy to blute force today.  And this is the default behaviour.
+ *      easy to brute force today.  And this is the default behaviour.
  *
  *    * In order to make things robust some OSes implement so-called
  *      "modular" usage. To go through, you have to do a complex
  *      build-up of the <code>salt_str</code> parameter, by hand.
  *      Failure in generation of a proper salt string tends not to
- *      yield any errors; typo in parameters are normally not
+ *      yield any errors; typos in parameters are normally not
  *      detectable.
  *
- *        * For instance, in the following example, second invocation
- *          of <code>String#crypt</code> is wrong; it has typo in
+ *        * For instance, in the following example, the second invocation
+ *          of <code>String#crypt</code> is wrong; it has a typo in
  *          "round=" (lacks "s").  However the call does not fail and
  *          something unexpected is generated.
  *
@@ -9271,7 +9271,7 @@ rb_str_oct(VALUE str) https://github.com/ruby/ruby/blob/trunk/string.c#L9271
  *
  *  If for some reason you cannot migrate to other secure contemporary
  *  password hashing algorithms, install the string-crypt gem and
- *  <code>requiire 'string/crypt'</code> to continue using it.
+ *  <code>require 'string/crypt'</code> to continue using it.
  */
 
 static VALUE

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

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