projects
/
cl-inotify.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
5d80fe9
)
Moved the &OPTIONAL to the right place.
author
Olof-Joachim Frahm
<olof@macrolet.net>
Sat, 25 Feb 2012 11:08:44 +0000
(12:08 +0100)
committer
Olof-Joachim Frahm
<olof@macrolet.net>
Sat, 25 Feb 2012 11:08:44 +0000
(12:08 +0100)
inotify.lisp
patch
|
blob
|
history
diff --git
a/inotify.lisp
b/inotify.lisp
index
3ff12d7
..
e43e7db
100644
(file)
--- a/
inotify.lisp
+++ b/
inotify.lisp
@@
-380,7
+380,7
@@
terminates if no events are available."
;;; this has the longer name, because this way you actually have to read
;;; about the differences, at least i hope so
;;; this has the longer name, because this way you actually have to read
;;; about the differences, at least i hope so
-(defmacro with-unregistered-inotify ((&optional inotify (nonblocking T) &rest rest) &body body)
+(defmacro with-unregistered-inotify ((inotify &optional (nonblocking T) &rest rest) &body body)
"Like WITH-INOTIFY, but uses MAKE-UNREGISTERED-INOTIFY and WATCH-RAW
instead. Useful if you need to monitor just a fixed set of paths."
`(let* ((,inotify (make-unregistered-inotify ,nonblocking)))
"Like WITH-INOTIFY, but uses MAKE-UNREGISTERED-INOTIFY and WATCH-RAW
instead. Useful if you need to monitor just a fixed set of paths."
`(let* ((,inotify (make-unregistered-inotify ,nonblocking)))
@@
-392,7
+392,7
@@
instead. Useful if you need to monitor just a fixed set of paths."
,.body)
(close-inotify ,inotify))))
,.body)
(close-inotify ,inotify))))
-(defmacro with-inotify ((&optional inotify (nonblocking T) &rest rest) &body body)
+(defmacro with-inotify ((inotify &optional (nonblocking T) &rest rest) &body body)
"Executes BODY with a newly created queue bound to INOTIFY if true.
See MAKE-INOTIFY for more information about possible arguments.
"Executes BODY with a newly created queue bound to INOTIFY if true.
See MAKE-INOTIFY for more information about possible arguments.