Add support to delete previously added watches through libnih

Bug #802477 reported by Surbhi Palande
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libnih
New
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!

Revision history for this message
James Hunt (jamesodhunt) wrote :

See also bug 814618.

Revision history for this message
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.