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

ruby-changes:46866

From: duerst <ko1@a...>
Date: Thu, 1 Jun 2017 13:38:08 +0900 (JST)
Subject: [ruby-changes:46866] duerst:r58981 (trunk): improve English for a warning message

duerst	2017-06-01 13:38:03 +0900 (Thu, 01 Jun 2017)

  New Revision: 58981

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

  Log:
    improve English for a warning message
    
    On DOSish systems, there is a warning message for \r\n line endings on shebang line.
    Improve this message from "shebang line ends with \r may cause a problem"
    to "shebang line ending with \r may cause problems".

  Modified files:
    trunk/ruby.c
Index: ruby.c
===================================================================
--- ruby.c	(revision 58980)
+++ ruby.c	(revision 58981)
@@ -1740,7 +1740,7 @@ static void https://github.com/ruby/ruby/blob/trunk/ruby.c#L1740
 warn_cr_in_shebang(const char *str, long len)
 {
     if (str[len-1] == '\n' && str[len-2] == '\r') {
-	rb_warn("shebang line ends with \\r may cause a problem");
+	rb_warn("shebang line ending with \\r may cause problems");
     }
 }
 #else

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

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