From: Yukihiro Matsumoto Date: 2004-09-16T14:17:15+09:00 Subject: Re: [PATCH] dir.c --- Dir.chdir error handling Hi, In message "Re: [PATCH] dir.c --- Dir.chdir error handling" on Thu, 16 Sep 2004 12:59:05 +0900, H.Yamamoto writes: |>Maybe you mean rb_gc() inside ruby_xmalloc()? | |Until now, my concern was just theory, but I could reproduce the problem |in real code... This simple code has potential bug. | | rb_str_intern(rb_str_new2("foo")); The problem under artificial circumstance may not be a real problem. | rb_str_intern(rb_str_new2("foo")); is not a realistic usage of rb_str_intern() where we have rb_intern(). matz.