Discard return values of watch functions.
authorOlof-Joachim Frahm <olof@macrolet.net>
Sat, 9 Feb 2013 15:35:11 +0000 (16:35 +0100)
committerOlof-Joachim Frahm <olof@macrolet.net>
Sat, 9 Feb 2013 15:35:11 +0000 (16:35 +0100)
inotify.lisp

index 9319295..0e27e6e 100644 (file)
@@ -404,6 +404,7 @@ instead.  Useful if you need to monitor just a fixed set of paths."
             ,.(mapcar (lambda (specifier)
                         `(watch-raw ,inotify ,@specifier))
                       rest)
+            (values)
             ,@body)
        (close-inotify ,inotify))))
 
@@ -422,5 +423,6 @@ UNWATCH calls on all WATCHed paths."
             ,.(mapcar (lambda (specifier)
                         `(watch ,inotify ,@specifier))
                       rest)
+            (values)
             ,@body)
        (close-inotify ,inotify))))