From: Tilman Sauerbeck Date: 2005-04-25T23:01:37+09:00 Subject: Re: [PATCH] tempfile.rb Tilman Sauerbeck [2005-03-27 02:49]: > there's a bug in Ruby 1.8.2 that breaks the following code: > > [...] > > 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? -- Regards, Tilman