This is a multi-part message in MIME format.

--Multipart_Sun__29_Jul_2001_23:01:01_+0900_083ab538
Content-Type: text/plain; charset=ISO-2022-JP
Content-Transfer-Encoding: 7bit

むとうです。

On Sun, 29 Jul 2001 01:47:30 +0900 "[ruby-ext:01880] Re: ItemFactory-patch"
dellin <dellin_geo / geocities.co.jp> wrote:

> dellinです。
> 
> > むとうです。
> 
> 再験どうもです。
> 
> やはり最打炭坂蜩痰譴造靴討くと落ちずに、GC::enableしてからだとNew/
> Updateで落ちることを確認しました。

添付のパッチでうまく動くようです。追試お願いします。

GCのお話で気づいたのですが、add_relative()が肝のようです。

では。

----
○● むとう まさお(MUTOH Masao)    
●○ E-Mail:mutoh / highway.ne.jp


--Multipart_Sun__29_Jul_2001_23:01:01_+0900_083ab538
Content-Type: application/octet-stream;
 nametemfactory.patch"
Content-Disposition: attachment;
 filenametemfactory.patch"
Content-Transfer-Encoding: base64

LS0tIHJiZ3RraXRlbWZhY3RvcnkuYy5vcmcJU3VuIEp1bCAyOSAyMjoyNDozNCAyMDAxCisrKyBy
Ymd0a2l0ZW1mYWN0b3J5LmMJU3VuIEp1bCAyOSAyMjozMDowMiAyMDAxCkBAIC02MiwxMiArNjIs
MTIgQEAKIAlyZXR1cm4gLTE7CiAgICAgfQogICAgIGlmICgoc3RyY21wKGl0ZW1fdHlwZSwgIjxC
cmFuY2g+IikgPT0gMCkgCi0JfHwgKHN0cmNtcChpdGVtX3R5cGUsICI8TGFzdEJyYW5jaD4iKSA9
PSAwKSkKLQlyZXR1cm4gMDsKLSAgICBlbHNlIGlmIChzdHJjbXAoaXRlbV90eXBlLCAiPFNlcGFy
YXRvcj4iKSA9PSAwKQotCXJldHVybiAwOworICAgICAgICB8fCAoc3RyY21wKGl0ZW1fdHlwZSwg
IjxMYXN0QnJhbmNoPiIpID09IDApCisgICAgICAgIHx8IChzdHJjbXAoaXRlbV90eXBlLCAiPFNl
cGFyYXRvcj4iKSA9PSAwKQorICAgICAgICB8fCAoc3RyY21wKGl0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