mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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:
parent
eb59047e2a
commit
d0e7329df3
1 changed files with 1 additions and 1 deletions
2
ruby.c
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
|
||||
|
|
Loading…
Add table
Reference in a new issue