diff options
| author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-02-25 03:29:25 +0000 |
|---|---|---|
| committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-02-25 03:29:25 +0000 |
| commit | 1deeb07d506b2522c788246a14b92ef2c093894a (patch) | |
| tree | be9e7b23249eb00975e43694e7d4fc8ddb6da058 | |
| parent | 5e980638541fe0dd62c19ee12cce5861f5e00409 (diff) | |
| download | ruby-1deeb07d506b2522c788246a14b92ef2c093894a.tar.gz ruby-1deeb07d506b2522c788246a14b92ef2c093894a.tar.xz ruby-1deeb07d506b2522c788246a14b92ef2c093894a.zip | |
* string.c (rb_str_each_line): constified.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22612 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
| -rw-r--r-- | string.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |
