From: "H.Yamamoto" Date: 2004-09-16T11:24:58+09:00 Subject: Re: [PATCH] dir.c --- Dir.chdir error handling >Because: > >|VALUE >|rb_str_intern(str) > >rb_intern() never allocates memory before calling strdup(). No other >function (e.g. strlen()) does allocation. memory allocation? Why memory allocation? Maybe you mean rb_gc() inside ruby_xmalloc()?