aboutsummaryrefslogtreecommitdiffstats
path: root/ruby.c
diff options
context:
space:
mode:
authorduerst <duerst@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-06-01 04:38:03 +0000
committerduerst <duerst@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-06-01 04:38:03 +0000
commit829c07282495c03fb75518269c076545aff86223 (patch)
treef7de13f6e47fa6160149a6166f8ef19f0c6f81f9 /ruby.c
parentb24e729f761a3f48a7329b010e704283ab29e4b7 (diff)
downloadruby-829c07282495c03fb75518269c076545aff86223.tar.gz
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
Diffstat (limited to 'ruby.c')
-rw-r--r--ruby.c2
1 files changed, 1 insertions, 1 deletions
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