From: Mark Wooding Date: Sun, 19 Jun 2011 18:23:57 +0000 (+0100) Subject: safely.lisp: SAFE-COPY shouldn't make two copies under CLisp. X-Git-Url: https://git.distorted.org.uk/~mdw/lisp/commitdiff_plain/1a50efd8a9e976bf16a29ce381ea38c6b9a39ea1 safely.lisp: SAFE-COPY shouldn't make two copies under CLisp. The condition on the fallback portable code wasn't fixed to exclude CLisp when the POSIX:COPY-FILE change was made. The result is a steady buildup of MUMBLE-GORP-old.FOO files, which is no fun. --- diff --git a/safely.lisp b/safely.lisp index 9809f07..9b4ab45 100644 --- a/safely.lisp +++ b/safely.lisp @@ -181,9 +181,7 @@ :method :hardlink :if-exists nil))) - - - #-(or cmu sbcl) + #-(or cmu sbcl clisp) ;; Otherwise just copy the file contents and hope for the best. (with-open-file (input file :element-type :default) (multiple-value-bind