ruby-cvs:18037
From: (matz) <matz ruby-lang.org>
Date: Fri, 1 Sep 2006 22:07:06 +0900
Subject: [ruby-cvs:18037] ruby: * string.c (rb_str_resize): should copy embedded string to
matz Fri, 1 Sep 2006 22:07:06 +0900
Modified files:
ruby:
ChangeLog array.c string.c
Log:
* string.c (rb_str_resize): should copy embedded string to
malloc'ed buffer. a patch from <nobu at ruby-lang.org> in
[ruby-dev:29369]. fixed: [ruby-dev:29368]
* string.c (rb_str_ord): use %ld specifier since STRING_LEN() is a
long. [ruby-dev:29369]
Revision Changes Path
1.5308 +9 -0 ruby/ChangeLog
http://www.ruby-lang.org/cgi-bin/cvsweb.cgi/ruby/ChangeLog?cvsroot=src&r1=1.5307&r2=1.5308
1.192 +3 -3 ruby/array.c
http://www.ruby-lang.org/cgi-bin/cvsweb.cgi/ruby/array.c?cvsroot=src&r1=1.191&r2=1.192
1.259 +7 -4 ruby/string.c
http://www.ruby-lang.org/cgi-bin/cvsweb.cgi/ruby/string.c?cvsroot=src&r1=1.258&r2=1.259