Merge lp://staging/~jamesodhunt/libnih/fix-for-777097 into lp://staging/libnih/1.0

Proposed by James Hunt
Status: Needs review
Proposed branch: lp://staging/~jamesodhunt/libnih/fix-for-777097
Merge into: lp://staging/libnih/1.0
Diff against target: 121 lines (+87/-9)
2 files modified
nih/tests/test_watch.c (+72/-3)
nih/watch.c (+15/-6)
To merge this branch: bzr merge lp://staging/~jamesodhunt/libnih/fix-for-777097
Reviewer Review Type Date Requested Status
Scott James Remnant Pending
Review via email: mp+65228@code.staging.launchpad.net

Description of the change

  * nih/watch.c:nih_watch_handle(): Handle non-directory watches;
    previously a file watch resulted in an invalid file path ending in
    a single slash (LP:#777097).
  * nih/tests/test_watch.c: Added explicit test for watch on a file.

To post a comment you must log in.

Unmerged revisions

1049. By James Hunt

* nih/watch.c:nih_watch_handle(): Handle non-directory watches;
  previously a file watch resulted in an invalid file path ending in
  a single slash (LP:#777097).
* nih/tests/test_watch.c: Added explicit test for watch on a file.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches

to all changes:
to status/vote changes: