original commit: f8e265c2bf31044e53d5aa8a9ef33d0a39f79e1f
This commit is contained in:
Matthew Flatt 2001-12-07 17:02:20 +00:00
parent ef604cef7f
commit 61e48e00a0

View File

@ -215,7 +215,7 @@
(define make-temporary-file
(case-lambda
[(template)
[(template copy-from)
(with-handlers ([not-break-exn?
(lambda (x)
(raise-type-error 'make-temporary-file
@ -235,7 +235,8 @@
(raise x)))])
(close-output-port (open-output-file name))
name))))]
[() (make-temporary-file "mztmp~a")]))
[(template) (make-temporary-file template #f)]
[() (make-temporary-file "mztmp~a" #f)]))
(define find-library
(case-lambda