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
This commit is contained in:
duerst 2017-06-01 04:38:03 +00:00
Родитель eb59047e2a
Коммит d0e7329df3
1 изменённых файлов: 1 добавлений и 1 удалений

2
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