safely.lisp: SAFE-COPY shouldn't make two copies under CLisp.
authorMark Wooding <mdw@distorted.org.uk>
Sun, 19 Jun 2011 18:23:57 +0000 (19:23 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Sun, 19 Jun 2011 18:25:16 +0000 (19:25 +0100)
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.

safely.lisp

index 9809f07..9b4ab45 100644 (file)
                                               :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