Revert "io.files.temp: When using temp-file, it's possible that it fails since"
This reverts commit a274f99437
.
handle-patch-and-put
parent
a274f99437
commit
1b95fba178
basis/io/files/temp
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue