Feature #154

prefer TMPDIR

Added by Akira Tanaka 332 days ago. Updated 329 days ago.

Status :Resolved Start :10/04/2009
Priority :Normal Due date :
Assigned to :- % Done :

0%

Category :-
Target version :-

Description

TMPDIR should be preferred.

If /tmp is preffered, we cannot specify the temporary directory on Unix
because /tmp is always exist.

If we can specify the temporary directory, we can remove garbage temporary files easily
even when ruby terminated abnormally as:

mkdir $HOME/rubyspec.tmp.$$
TMPDIR=$HOME/rubyspec.tmp.$$ ruby mspec ...
rm -rf $HOME/rubyspec.tmp.$$

0001-prefer-ENV-TMPDIR-to-be-able-to-specify-the-tempo.patch (882 Bytes) Akira Tanaka, 10/04/2009 06:25 PM

History

10/04/2009 06:25 PM - Akira Tanaka

patch attached.

10/08/2009 08:49 AM - Brian Ford

  • Status changed from New to Resolved

Hi,

This makes sense to me. Thanks for the patch. Committed in bcec47c70e.

Brian

Also available in: Atom PDF