nih_watch_handle() does not handle file watches correctly

Bug #777097 reported by James Hunt on 2011-05-04
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libnih
Undecided
James Hunt
libnih (Ubuntu)
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.

James Hunt (jamesodhunt) wrote :

This has now been merged from branch lp:~jamesodhunt/libnih/fix-for-777097.

Changed in libnih:
status: New → Fix Committed
assignee: nobody → James Hunt (jamesodhunt)
Dimitri John Ledkov (xnox) wrote :

This bug was fixed in the package libnih - 1.0.3-4ubuntu16

---------------
libnih (1.0.3-4ubuntu16) raring; urgency=low

  * debian/{libnih1.postinst,libnih-dbus1.postinst}: Force an upgrade to
    restart Upstart (to pick up new package version) if the running
    instance supports it.
  * Merge of important fixes from lp:~upstart-devel/libnih/nih
    (LP: #776532, LP: #777097, LP: #834813, LP: #1123588).
 -- James Hunt <email address hidden> Thu, 14 Mar 2013 09:14:22 +0000

Changed in libnih (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers