nih_watch_handle() does not handle file watches correctly
Bug #777097 reported by
James Hunt
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libnih |
Fix Committed
|
Undecided
|
James Hunt | ||
libnih (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
nih_watch_handle() currently assumes every watch relates to a directory watch. If a file watch is specified, nih_watch_handle() attaches a trailing slash to make it into an (invalid) directory path.
Related branches
lp://staging/~jamesodhunt/libnih/fix-for-777097
Ready for review
for merging
into
lp://staging/libnih/1.0
- Scott James Remnant: Pending requested
-
Diff: 121 lines (+87/-9)2 files modifiednih/tests/test_watch.c (+72/-3)
nih/watch.c (+15/-6)
To post a comment you must log in.
This has now been merged from branch lp:~jamesodhunt/libnih/fix-for-777097.