From: Mark Wooding Date: Mon, 18 Jul 2011 12:14:28 +0000 (+0100) Subject: safely.lisp: Explicitly state which library to get rename(2) from. X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/lisp/commitdiff_plain/4b53d23cef3d56dfa5c87bc290db159bec74baf9 safely.lisp: Explicitly state which library to get rename(2) from. I think this is Debian changing the dynamic linking rules rather than CLisp being crap; but it's still annoying. --- diff --git a/safely.lisp b/safely.lisp index 0674429..43ea4fe 100644 --- a/safely.lisp +++ b/safely.lisp @@ -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)))