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
|
@ -12,8 +12,7 @@ SYMBOL: current-temp-directory
|
||||||
current-temp-directory get ;
|
current-temp-directory get ;
|
||||||
|
|
||||||
: temp-file ( name -- path )
|
: temp-file ( name -- path )
|
||||||
temp-directory
|
temp-directory prepend-path ;
|
||||||
[ make-directories ] [ prepend-path ] bi ;
|
|
||||||
|
|
||||||
: with-temp-directory ( quot -- )
|
: with-temp-directory ( quot -- )
|
||||||
[ temp-directory ] dip with-directory ; inline
|
[ temp-directory ] dip with-directory ; inline
|
||||||
|
|
Loading…
Reference in New Issue