Revert "io.files.temp: When using temp-file, it's possible that it fails since"

This reverts commit a274f99437.
handle-patch-and-put
John Benediktsson 2018-08-21 10:44:10 -07:00
parent a274f99437
commit 1b95fba178
1 changed files with 1 additions and 2 deletions
basis/io/files/temp

View File

@ -12,8 +12,7 @@ SYMBOL: current-temp-directory
current-temp-directory get ;
: temp-file ( name -- path )
temp-directory
[ make-directories ] [ prepend-path ] bi ;
temp-directory prepend-path ;
: with-temp-directory ( quot -- )
[ temp-directory ] dip with-directory ; inline