> Would it be too much of a trouble to have inotify_rm_watch() for each > inotify_add_watch() call and a close() matching inotify_init()? >
Not at all. But the final close() is performed by the system at exit(), I believe. Nevertheless, we can wrap these calls with ENABLE_CLEANUP. Denys, what do you think? Regards, -- Vladimir
_______________________________________________ busybox mailing list busybox@busybox.net http://busybox.net/cgi-bin/mailman/listinfo/busybox