diff options
| author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-06-21 08:32:22 +0000 |
|---|---|---|
| committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-06-21 08:32:22 +0000 |
| commit | 1632d2d2eafb65513759823916563b2bd37477bd (patch) | |
| tree | f306b27a4dc8690800157d3bb45e310250c4dd0d /ext/zlib | |
| parent | 0cc816db25367d6bcf91ac0dfe66ed25a3d37725 (diff) | |
| download | ruby-1632d2d2eafb65513759823916563b2bd37477bd.tar.gz ruby-1632d2d2eafb65513759823916563b2bd37477bd.tar.xz ruby-1632d2d2eafb65513759823916563b2bd37477bd.zip | |
* ext/socket/getaddrinfo.c (freeaddrinfo, get_name): fixed typo.
* ext/tk/tcltklib.c (tcl_eval, tcl_global_eva): ditto.
* ext/zlib/zlib.c (rscheck): constified.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10358 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/zlib')
| -rw-r--r-- | ext/zlib/zlib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/zlib/zlib.c b/ext/zlib/zlib.c index c54e83eac..68d947d05 100644 --- a/ext/zlib/zlib.c +++ b/ext/zlib/zlib.c @@ -2983,7 +2983,7 @@ gzreader_skip_linebreaks(struct gzfile *gz) } static void -rscheck(char *rsptr, long rslen, VALUE rs) +rscheck(const char *rsptr, long rslen, VALUE rs) { if (RSTRING(rs)->ptr != rsptr && RSTRING(rs)->len != rslen) rb_raise(rb_eRuntimeError, "rs modified"); |
