lp://staging/~jamesodhunt/libnih/fix-for-777097
- Get this branch:
- bzr branch lp://staging/~jamesodhunt/libnih/fix-for-777097
Branch merges
- Scott James Remnant: Pending requested
-
Diff: 121 lines (+87/-9)2 files modifiednih/tests/test_watch.c (+72/-3)
nih/watch.c (+15/-6)
Related bugs
Bug #777097: nih_watch_handle() does not handle file watches correctly | Undecided | Fix Committed |
Related blueprints
Branch information
Recent 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. - 1047. By Scott James Remnant (Canonical)
-
* configure.ac: Bump version to 1.0.4
* NEWS: Begin new release - 1045. By Scott James Remnant (Canonical)
-
* nih-dbus-
tool/type. c (type_const, type_of): Add support for the
DBUS_TYPE_UNIX_FD type, with a C type of "int".
* nih-dbus-tool/tests/ test_type. c (test_const, test_of): Check the types
are correct.
* nih-dbus-tool/tests/ marshal_ factory. c: Generate function for
unix_fd testing
* nih-dbus-tool/tests/ marshal_ code.h: Add header for generated function
* nih-dbus-tool/tests/ test_marshal. c (test_marshal): Test the generator
and the generated function
* nih-dbus-tool/tests/ demarshal_ factory. c: Generate function for
unix_fd testing
* nih-dbus-tool/tests/ demarshal_ code.h: Add header for generated function
* nih-dbus-tool/tests/ test_demarshal. c (test_demarshal): Test the
generator and the generated code
* nih-dbus-tool/tests/ com.netsplit. Nih.Test. xml: Add methods, signal and
properties for testing.
* nih-dbus-tool/tests/ com.netsplit. Nih.Test_ impl.h: Add property
definition
* nih-dbus-tool/tests/ com.netsplit. Nih.Test_ impl.c (my_test_ unix_fd_ to_str)
(my_test_str_to_ unix_fd, my_test_ get_unix_ fd)
(my_test_set_unix_ fd): Test implementation.
* nih-dbus-tool/tests/ test_com. netsplit. Nih.Test_ object. c (test_unix_ fd_to_str)
(test_str_to_unix_ fd, test_new_unix_fd, test_get_unix_fd)
(test_set_unix_fd): Add methods to test the object implementation.
* nih-dbus-tool/tests/ test_com. netsplit. Nih.Test_ proxy.c (test_unix_ fd_to_str)
(test_unix_fd_to_str_ sync, test_str_ to_unix_ fd)
(test_str_to_unix_ fd_sync, test_new_unix_fd, test_get_unix_fd)
(test_get_unix_fd_ sync, test_set_unix_fd, test_set_ unix_fd_ sync): Add tests
for unix fds.
(test_get_all, test_get_all_sync): Add unix fd to tests.
* NEWS: Update - 1044. By Scott James Remnant (Canonical)
-
* configure.ac: Bump version to 1.0.3
* NEWS: Begin new release - 1042. By Scott James Remnant (Canonical)
-
* m4/libnih.m4 (NIH_WITH_
LOCAL_LIBNIH) : Add macro cribbed from the
Upstart configure.ac - 1041. By Scott James Remnant (Canonical)
-
* nih-dbus-
tool/Makefile. am (tests/ marshal_ code.c)
(tests/demarshal_ code.c, tests/interface _code.c)
(tests/method_ code.c, tests/signal_ code.c)
(tests/property_ code.c) : Support silent rules by using $(AM_V_GEN)
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp://staging/libnih/1.0