fixed with-output-to-file
svn: r7948
This commit is contained in:
parent
ab6d333550
commit
29318f1be2
|
@ -28,7 +28,7 @@
|
||||||
(get-pure-port (string->url (string-append base name)))])
|
(get-pure-port (string->url (string-append base name)))])
|
||||||
(with-output-to-file name
|
(with-output-to-file name
|
||||||
(lambda () (copy-port (current-input-port) (current-output-port)))
|
(lambda () (copy-port (current-input-port) (current-output-port)))
|
||||||
'truncate)))
|
#:exists 'truncate)))
|
||||||
(or (existing)
|
(or (existing)
|
||||||
(begin (get-it) (existing))
|
(begin (get-it) (existing))
|
||||||
(error "file not found: ~s" (string-append base name))))
|
(error "file not found: ~s" (string-append base name))))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user