Displaying 1 result from an estimated 1 matches for "watchdescriptor".
2005 Aug 22
2
Re: Dovecot inotify problem
...c)
        ctx->inotify_fd = inotify_init();
+	i_warning("inotify_init returned fd %d", ctx->inotify_fd);
        if (ctx->inotify_fd == -1) {
and line 106:
                                            IN_CLOSE | IN_MODIFY);
+	i_warning("inotify_add_watch returned %d", watchdescriptor);
        if (watchdescriptor < 0) {
and line 145:
        }
+	inotify_rm_watch("removing wd %d from inotify fd %d", io->notify_context, ctx->inotify_fd);
        if (inotify_rm_watch(ctx->inotify_fd, io->notify_context) < 0)
Or something similar.
If that doesn't h...