chiark
/
gitweb
/
~mdw
/
lisp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d8bac2
)
syscall: Don't require (function ...) for the name argument.
author
Mark Wooding
<mdw@distorted.org.uk>
Tue, 11 Apr 2006 17:20:46 +0000
(18:20 +0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Tue, 11 Apr 2006 17:20:46 +0000
(18:20 +0100)
In fact, don't allow it.
unix.lisp
patch
|
blob
|
blame
|
history
diff --git
a/unix.lisp
b/unix.lisp
index 3a01dd27de3d0290ce7bdfb123be5f431fa7608a..adf95ff2de01a338afcd93e10ddb3ebc04b858b0 100644
(file)
--- a/
unix.lisp
+++ b/
unix.lisp
@@
-123,7
+123,7
@@
(defun syscall* (name func &rest 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)