diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-07-27 17:20:29 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-07-27 17:20:29 +0000 |
commit | cd565c1134351d2af144e071e79a1facbc1bc842 (patch) | |
tree | 5092d13cd612abad7d4bb8b988ec82c09ce4eeb2 /ext/tcltklib/tcltklib.c | |
parent | 4e44bd01a94ea94409a198bd8720264ac6c8195a (diff) | |
download | ruby-cd565c1134351d2af144e071e79a1facbc1bc842.tar.gz ruby-cd565c1134351d2af144e071e79a1facbc1bc842.tar.xz ruby-cd565c1134351d2af144e071e79a1facbc1bc842.zip |
* string.c (rb_str_chomp_bang): defer rb_str_modify() to actual
modify point. other methods, replace, tr, delete, squeeze,
lstrip, and rstrip as well.
* string.c (rb_str_rstrip_bang): remove trailing '\0' at the end
of string.
* string.c (rb_str_lstrip_bang): do not strip '\0' from the left.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4184 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/tcltklib/tcltklib.c')
0 files changed, 0 insertions, 0 deletions