From d0e7329df3ea43cb9e469ad32aafdbf7267ba2d0 Mon Sep 17 00:00:00 2001 From: duerst Date: Thu, 1 Jun 2017 04:38:03 +0000 Subject: 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". git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58981 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ruby.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ruby.c') diff --git a/ruby.c b/ruby.c index 690b63189c..cf13eee20a 100644 --- a/ruby.c +++ b/ruby.c @@ -1740,7 +1740,7 @@ static void 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 -- cgit v1.2.3