fixed copy-file misuse

original commit: e8ff56a1a06139f9da38b6185a85938ab04e9127
This commit is contained in:
Robby Findler 1998-07-14 02:12:15 +00:00
parent cdb60d3814
commit d617c48c1c

View File

@ -872,7 +872,8 @@
(not (= format wx:const-media-ff-copy))
(file-exists? name))
(let ([back-name (mred:path-utils:generate-backup-name name)])
(copy-file name back-name)))
(with-handlers ([exn:i/o:filesystem:rename? void])
(copy-file name back-name))))
#t)))]
[do-close
(lambda ()