From 1b95fba17870eb7defe77f5dc83ed6419b367134 Mon Sep 17 00:00:00 2001 From: John Benediktsson Date: Tue, 21 Aug 2018 10:44:10 -0700 Subject: [PATCH] Revert "io.files.temp: When using temp-file, it's possible that it fails since" This reverts commit a274f9943760cd6c72a38ffa59c0ca605f3bc09a. --- basis/io/files/temp/temp.factor | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/basis/io/files/temp/temp.factor b/basis/io/files/temp/temp.factor index 477c1f078d..b1c18725c1 100644 --- a/basis/io/files/temp/temp.factor +++ b/basis/io/files/temp/temp.factor @@ -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