summaryrefslogtreecommitdiff
path: root/ruby.c
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-03-18 14:58:07 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-03-18 14:58:07 +0000
commit4afc46dc8c62b718b48f2108ed44570d97e0f9ad (patch)
tree95c8eefd437d1a698c7f2d27d7127391904be05a /ruby.c
parentcfb61e5962ecaebc457da0f7e9b6903f6ce7f0c1 (diff)
merge revision(s) 59970: [Backport #13736]
ruby.c: paragraph mode by -00 * ruby.c (proc_options): set to paragraph mode, if -00 is given, as well as perl and -R0 option in 0.49. [ruby-core:81987] [Bug #13736] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@62817 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 7c32d4170d..d84118e140 100644
--- a/ruby.c
+++ b/ruby.c
@@ -1077,7 +1077,7 @@ proc_options(long argc, char **argv, struct cmdline_options *opt, int envopt)
if (v > 0377)
rb_rs = Qnil;
else if (v == 0 && numlen >= 2) {
- rb_rs = rb_str_new2("\n\n");
+ rb_rs = rb_str_new2("");
}
else {
c = v & 0xff;