Issue #1494 has been updated by Eric Wong.


This patch totally breaks UNIX applications that rely on this behavior.  It's
widely considered good practice to unlink temp files ASAP on platforms
that support it for several reasons:

  1) reduced chance of conflicts/retries when other temp files are created

  2) less chance a fatal error in the application causing disk space to
     be filled up because finalizers didn't get run

  3) improved security in case an accidental chmod hits the file, or
     the user is running another misbehaving application.

----------------------------------------
http://redmine.ruby-lang.org/issues/show/1494

----------------------------------------
http://redmine.ruby-lang.org