From a047dcaf994e6e5ecb804b7d478479d5dea9de4c Mon Sep 17 00:00:00 2001 From: Arne Goedeke <el@laramies.com> Date: Thu, 11 Apr 2013 12:53:49 +0200 Subject: [PATCH] Filesystem.Monitor.basic: fixed references to Inotify module --- .../Filesystem.pmod/Monitor.pmod/basic.pike | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/lib/modules/Filesystem.pmod/Monitor.pmod/basic.pike b/lib/modules/Filesystem.pmod/Monitor.pmod/basic.pike index dd3a0227b6..7d4d5088ad 100644 --- a/lib/modules/Filesystem.pmod/Monitor.pmod/basic.pike +++ b/lib/modules/Filesystem.pmod/Monitor.pmod/basic.pike @@ -265,12 +265,12 @@ protected class Monitor(string path, eventstream->start(); #elseif HAVE_INOTIFY wd = instance->add_watch(path, - Inotify.IN_MOVED_FROM | Inotify.IN_UNMOUNT | - Inotify.IN_MOVED_TO | Inotify.IN_MASK_ADD | - Inotify.IN_MOVE_SELF | Inotify.IN_DELETE | - Inotify.IN_MOVE | Inotify.IN_MODIFY | - Inotify.IN_ATTRIB | Inotify.IN_DELETE_SELF | - Inotify.IN_CREATE); + System.Inotify.IN_MOVED_FROM | System.Inotify.IN_UNMOUNT | + System.Inotify.IN_MOVED_TO | System.Inotify.IN_MASK_ADD | + System.Inotify.IN_MOVE_SELF | System.Inotify.IN_DELETE | + System.Inotify.IN_MOVE | System.Inotify.IN_MODIFY | + System.Inotify.IN_ATTRIB | System.Inotify.IN_DELETE_SELF | + System.Inotify.IN_CREATE); #endif } @@ -779,7 +779,7 @@ protected void create(int|void max_dir_check_interval, #if HAVE_EVENTSTREAM eventstream->callback_func = eventstream_callback; #elseif HAVE_INOTIFY - instance = Inotify._Instance(); + instance = System.Inotify._Instance(); file = Stdio.File(); file->assign(instance->fd()); file->set_nonblocking(); -- GitLab