Re: [Safer] rb_class_path

From: nobu.nokada@...
Date: 2002-08-28 14:50:18 UTC
List: ruby-core #383
Hi,

At Wed, 28 Aug 2002 23:26:16 +0900,
Michal Rokos wrote:
> On Wed, Aug 28, 2002 at 06:29:41PM +0900, nobu.nokada@softhome.net wrote:
> > > >   +	RSTRING(str)->len = strlen(RSTRING(str)->ptr);
> 
> 	If you agree, I will commit this version. (It's based on my 1st
> 	version of this patch and your fix with 2 * SIZEOF_LONG. I think

I agree, and guess your previous patch has no problem.

> 	that it is also to have +1 in the end of rb_str_new (not +1+1))

Definitely.

-- 
Nobu Nakada

In This Thread