From: Hongli Lai Date: 2009-08-22T06:07:19+09:00 Subject: [ruby-core:25026] [Bug #1494] tempfile#unlink may silently fail on windows Issue #1494 has been updated by Hongli Lai. Luis Lavena: > Seems to rescue Errno::EACCES on Windows, and silently fail. Actually, Ruby 1.9's Tempfile already does that. I just removed the 'close' call in the #unlink method. I'd rather advocate letting the exception propagate and explicitly documenting the exception in the API documentation, but I want to preserve Tempfile's current behavior as much as possible so I preserved that code and introduced #unlinked? instead. ---------------------------------------- http://redmine.ruby-lang.org/issues/show/1494 ---------------------------------------- http://redmine.ruby-lang.org