mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* string.c (rb_str_each_line): constified.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22612 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
43b9684962
commit
dd43561fd6
1 changed files with 1 additions and 1 deletions
2
string.c
2
string.c
|
@ -5658,7 +5658,7 @@ rb_str_each_line(int argc, VALUE *argv, VALUE str)
|
|||
rb_encoding *enc;
|
||||
VALUE rs;
|
||||
unsigned int newline;
|
||||
char *p, *pend, *s, *ptr;
|
||||
const char *p, *pend, *s, *ptr;
|
||||
long len, rslen;
|
||||
VALUE line;
|
||||
int n;
|
||||
|
|
Loading…
Reference in a new issue