~jamesodhunt/libnih/bug-1123588-gcc-malloc-attribute

Viewing all changes in revision 1049.

  • Committer: Scott James Remnant
  • Date: 2011-06-20 18:47:02 UTC
  • mfrom: (1048.1.1 libnih-fix-for-777097)
  • Revision ID: scott@netsplit.com-20110620184702-hqi8hfvmze7i1824
* 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.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: