From: David Alan Black Date: 2001-01-10T01:57:09+09:00 Subject: [ruby-talk:8939] Re: String confusion Hello -- On Wed, 10 Jan 2001, Yukihiro Matsumoto wrote: > Hi, > > In message "[ruby-talk:8931] String confusion" > on 01/01/10, Anders Bengtsson writes: > > |I just ran into a problem with Strings that really confuses me. > > It's a bug. Here's the patch. Thank you. > > matz. > > --- string.c 2000/12/26 08:32:35 1.52 > +++ string.c 2001/01/09 16:53:05 > @@ -1401,2 +1401,3 @@ > > + rb_str_modify(str); > s = RSTRING(str)->ptr; > Matz, while you're here and we're talking about rb_str_modify... maybe a good time to re-ask a question from a while ago :-) What's the reason for some of the rb_xxx_modify functions being defined static, and some (at least string.c's) not? Thanks -- David -- David Alan Black home: dblack@candle.superlink.net work: blackdav@shu.edu Web: http://pirate.shu.edu/~blackdav