ruby-changes:54546
From: svn <ko1@a...>
Date: Wed, 9 Jan 2019 21:55:27 +0900 (JST)
Subject: [ruby-changes:54546] svn:r66761 (trunk): * expand tabs.
svn 2019-01-09 21:55:21 +0900 (Wed, 09 Jan 2019) New Revision: 66761 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=66761 Log: * expand tabs. Modified files: trunk/ext/stringio/stringio.c Index: ext/stringio/stringio.c =================================================================== --- ext/stringio/stringio.c (revision 66760) +++ ext/stringio/stringio.c (revision 66761) @@ -810,8 +810,8 @@ strio_ungetbyte(VALUE self, VALUE c) https://github.com/ruby/ruby/blob/trunk/ext/stringio/stringio.c#L810 int i = FIX2INT(c); if (0 <= i && i <= UCHAR_MAX) { char buf[1]; - buf[0] = (char)i; - return strio_unget_bytes(ptr, buf, 1); + buf[0] = (char)i; + return strio_unget_bytes(ptr, buf, 1); } else { rb_raise(rb_eRangeError, -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/