From d5a7dde7ee138507bc564c6f224e25b6ff26be8f Mon Sep 17 00:00:00 2001 From: Doug Coleman Date: Sun, 30 Aug 2009 21:57:33 -0500 Subject: [PATCH] fix kqueue --- basis/io/backend/unix/multiplexers/kqueue/kqueue.factor | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/basis/io/backend/unix/multiplexers/kqueue/kqueue.factor b/basis/io/backend/unix/multiplexers/kqueue/kqueue.factor index e01f33bbd8..ab3308916d 100644 --- a/basis/io/backend/unix/multiplexers/kqueue/kqueue.factor +++ b/basis/io/backend/unix/multiplexers/kqueue/kqueue.factor @@ -70,7 +70,7 @@ M: kqueue-mx remove-output-callbacks ( fd mx -- seq ) : handle-kevents ( mx n -- ) [ dup events>> ] dip head-slice - [ \ kevent memory>struct handle-kevent ] with each ; + [ handle-kevent ] with each ; M: kqueue-mx wait-for-events ( us mx -- ) swap dup [ make-timespec ] when