1
0
Fork 0
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:
nobu 2009-02-25 03:29:25 +00:00
parent 43b9684962
commit dd43561fd6

View file

@ -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;