Hi,

At Mon, 25 Apr 2005 23:01:37 +0900,
Tilman Sauerbeck wrote in [ruby-core:04786]:
> > This was then fixed in CVS by making Tempfile#_close only set @data[1]
> > to nil if @data isn't nil.
> > 
> > I suspect that this isn't the right way to fix it, maybe it's better to
> > only set @data[1] to nil instead of @data in #unlink (and #close!)?
> > 
> > Attached a diff against CVS HEAD.
> 
> Any comments? Please?

Your example worked fine with 1.9, so it should be backported
from HEAD to 1.8, not patching against HEAD?

-- 
Nobu Nakada