From: Mark Wooding Date: Tue, 11 Apr 2006 17:20:46 +0000 (+0100) Subject: syscall: Don't require (function ...) for the name argument. X-Git-Url: https://git.distorted.org.uk/~mdw/lisp/commitdiff_plain/287fd2e6b9ff8d33434595d8e6b6b61fc4a7f9cc syscall: Don't require (function ...) for the name argument. In fact, don't allow it. --- diff --git a/unix.lisp b/unix.lisp index 3a01dd2..adf95ff 100644 --- a/unix.lisp +++ b/unix.lisp @@ -123,7 +123,7 @@ signal the unix-error condition, with NAME and ARGS." (defmacro syscall (func &rest args) "Call Unix system call FUNC, passing it ARGS. If it returns an error, signal the unix-error condition, with FUNC and ARGS." - `(syscall* ',func ,func ,@args)) + `(syscall* ',func #',func ,@args)) (macrolet ((doit (doc slots) `(defstruct (stat (:predicate statp)