chiark / gitweb /
safely.lisp: Explicitly state which library to get rename(2) from.
authorMark Wooding <mdw@distorted.org.uk>
Mon, 18 Jul 2011 12:14:28 +0000 (13:14 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Mon, 18 Jul 2011 12:14:28 +0000 (13:14 +0100)
I think this is Debian changing the dynamic linking rules rather than
CLisp being crap; but it's still annoying.

safely.lisp

index 0674429f085aed98b15ca7a12f49b231aa7bb41b..43ea4fed73a9f48918a378c22b0942884da7b90d 100644 (file)
@@ -114,6 +114,7 @@ (defun safely-open-output-stream (safe file &rest open-args)
 (progn
   (ffi:def-call-out %rename (:name "rename")
     (:language :stdc)
+    (:library "libc.so.6")
     (:arguments (from ffi:c-string)
                (to ffi:c-string))
     (:return-type ffi:int)))