Commit 0fb2038d2b35034b71fdde4da1d6c9a6b64313e5

Thomas de Grivel 2017-05-27T21:12:30

Fix with.

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/cffi-epoll.lisp b/cffi-epoll.lisp
index 4f8fba7..0a30696 100644
--- a/cffi-epoll.lisp
+++ b/cffi-epoll.lisp
@@ -12,7 +12,7 @@
 
 (defmacro with ((fdvar &optional (size 10)) &body body)
   (let ((fd (gensym "FD-")))
-    `(let ((,fd (epoll-create ,size)))
+    `(let ((,fd (create ,size)))
        (unwind-protect (let ((,fdvar ,fd)) ,@body)
 	 (unistd:close ,fd)))))