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 0674429..43ea4fe 100644 (file)
 (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)))