Add support to delete previously added watches through libnih

Bug #802477 reported by Surbhi Palande on 2011-06-27
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libnih
Undecided
Unassigned

Bug Description

Currently there is support to add inotify watches to directories and files. However there is no support for deleting these added watches. Please provide functionality for the same. Thanks!

James Hunt (jamesodhunt) wrote :

See also bug 814618.

Scott James Remnant (scott) wrote :

nih_watch_add() should return the NihWatchHandle * rather than an int indicating success; this structure should have a destructor so that when freed, it's both removed from the linked list (it doesn't even do this right now) and inotify_rm_watch() called

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers