You can browse the source code for the development focus branch or get a copy of the branch using the command:
bzr branch lp://staging/libnih

There are download files available for libnih.

libnih has 8 active reviews. See all merge proposals.

libnih has 16 active branches owned by 7 people and 1 team. There were 0 commits in the last month.

Bazaar branches

Name Status Last Modified Last Commit
lp://staging/libnih
Series: trunk
bug 1 Development 2012-12-17 10:36:51 UTC
1054. * nih-dbus-tool/tests/test_com.netspl...

Author: Scott James Remnant (Canonical)
Revision Date: 2011-09-01 18:41:03 UTC

* nih-dbus-tool/tests/test_com.netsplit.Nih.Test_object.c
(test_unix_fd_to_str): Sanity check value before invoking strchr in
case it returns address of null (which would give a misleading test
pass).
* nih-dbus-tool/tests/test_com.netsplit.Nih.Test_proxy.c
(test_unix_fd_to_str, test_unix_fd_to_str_sync): Sanity check value
before invoking strchr in case it returns address of null (which would
give a misleading test pass).
* nih/config.c (): nih_config_block_end: Add check to ensure strchr()
doesn't return address of null since this would result in a misleading
return value of TRUE.

lp://staging/libnih/1.0
Series: 1.0
bug 1 Development 2011-01-14 07:32:19 UTC
1048. Typo fixes from James

Author: Scott James Remnant (Canonical)
Revision Date: 2011-01-14 07:32:19 UTC

Typo fixes from James

lp://staging/~vapier/libnih/libnih 1 Development 2015-05-21 08:20:29 UTC
1056. fix race in signal processing leading...

Author: Mike Frysinger
Revision Date: 2015-05-21 08:12:11 UTC

fix race in signal processing leading to lost signals

The current loop will walk all signals one by one and run the handler
for it if any signals were pending. Then it clears the array. But if
a signal comes in for an earlier checked signal, it will get clobbered
when the final clear runs.

Change the logic so that we only clear entries for signals whose handler
we explicitly call. If a different signal comes in, we'll process it
the next time around.

This was discovered & triaged by Jeffy Chen from Rockchip.

lp://staging/~upstart-devel/libnih/nih bug(Has a merge proposal) 1 Development 2013-03-14 08:55:45 UTC
1061. * Merge of lp:~vorlon/libnih/lp.776532.

Author: James Hunt
Revision Date: 2013-03-14 08:55:45 UTC

* Merge of lp:~vorlon/libnih/lp.776532.

lp://staging/~vorlon/libnih/lp.776532 bug(Has a merge proposal) 1 Development 2013-03-13 21:45:35 UTC
1056. Fix bug #776532 properly, the bug is ...

Author: Steve Langasek
Revision Date: 2013-03-13 21:44:15 UTC

Fix bug #776532 properly, the bug is in the caller (nih_watch_add), not in nih_dir_walk_scan().

lp://staging/~jamesodhunt/libnih/bug-1123588-gcc-malloc-attribute (Has a merge proposal) 1 Development 2013-02-28 11:37:29 UTC
1055. * Removal of gcc 'malloc' function at...

Author: James Hunt
Revision Date: 2013-02-28 11:36:25 UTC

* Removal of gcc 'malloc' function attribute resulting from
  a clarification in its description which makes its use invalid.
  (LP: #1123588).

lp://staging/~pcarrier/libnih/macros bug 1 Development 2012-12-11 21:10:29 UTC
1055. * nih/macros.h (NIH_TRUE): guarantee ...

Author: Pierre Carrier
Revision Date: 2012-12-11 21:10:29 UTC

* nih/macros.h (NIH_TRUE): guarantee that TRUE == TRUE across projects.

lp://staging/~jamesodhunt/libnih/libnih 1 Development 2012-10-25 14:32:33 UTC
1056. * nih/logging.c: Use our own __nih_ab...

Author: James Hunt
Revision Date: 2012-10-25 13:50:39 UTC

* nih/logging.c: Use our own __nih_abort_msg rather than the
  (e)glibc private symbol __abort_msg to avoid upgrade issues (LP: #997359).
* nih/tests/test_logging.c: Update tests for __nih_abort_msg.

lp://staging/~jamesodhunt/libnih/gcc-appeasements (Has a merge proposal) 1 Development 2012-04-30 13:12:26 UTC
1055. * nih/tests/test_hash.c, nih/tests/te...

Author: James Hunt
Revision Date: 2012-04-30 13:11:19 UTC

* nih/tests/test_hash.c, nih/tests/test_main.c,
  nih/tests/test_option.c: Added unused variable attribute to
  appese newer versions of gcc when building with
  '--disable-silent-rules' and '--enable-compiler-warnings'.

lp://staging/~jamesodhunt/libnih/bug-776532 bug(Has a merge proposal) 1 Development 2012-04-27 14:50:46 UTC
1055. * nih/file.c (nih_dir_walk_filter): N...

Author: James Hunt
Revision Date: 2012-04-27 14:46:02 UTC

* nih/file.c (nih_dir_walk_filter): New NihFileFilter function passed to
nih_dir_walk_scan() to ensure the nih_watch_new() filter function is
passed the NihWatch data rather than the data passed to the
nih_dir_walk() NihFileVisitor function (LP: #776532).

* nih/tests/test_watch.c (test_new): New test "with filter and data"
to ensure filter is passed correct value.

lp://staging/~jamesodhunt/libnih/libnih-inotify-overflow-fix-for-777093 (Has a merge proposal) 1 Development 2011-06-21 16:20:46 UTC
1050. Special case code to handle inotify e...

Author: James Hunt
Revision Date: 2011-06-21 16:20:30 UTC

Special case code to handle inotify event queue overflow (LP:#777093).

* nih/watch.c: nih_watch_reader(): Handle situation where kernel
  is generating events faster than can be consumed by simply
  ignoring them. Failure to do so results in an assertion failure in
  nih_watch_handle_by_wd() since the inotify_event object will
  contain an invalid watch descriptor (-1).
* nih/tests/test_watch.c:
  - Added PROC_MAX_INOTIFY define.
  - test_reader(): Added test to check for inotify event queue overflow
    handling.

lp://staging/~jamesodhunt/libnih/wibble 1 Development 2011-06-20 18:52:45 UTC
1049. * nih/watch.c:nih_watch_handle(): Han...

Author: James Hunt
Revision Date: 2011-06-20 16:09:08 UTC

* 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.

lp://staging/~jamesodhunt/libnih/file-watch-fix bug 1 Development 2011-06-20 15:41:19 UTC
1052. * nih/tests/test_watch.c: Added expli...

Author: James Hunt
Revision Date: 2011-06-20 15:41:19 UTC

* nih/tests/test_watch.c: Added explicit test for watch on a file.

lp://staging/~jamesodhunt/libnih/iterators (Has a merge proposal) 1 Development 2011-05-08 11:42:41 UTC
1049. * Changelog: Summary of new functions...

Author: James Hunt
Revision Date: 2011-05-08 11:42:41 UTC

* Changelog: Summary of new functions.
* nih/hash.c: New functions:
  - nih_hash_foreach()
  - nih_hash_count()
* nih/hash.h: Prototypes for new functions:
  - nih_hash_foreach()
  - nih_hash_count()
* nih/list.c: New functions:
  - nih_list_foreach()
  - nih_list_count()
* nih/list.h:
  - Prototypes for new functions:
    - nih_list_foreach()
    - nih_list_count()
  - New type: NihListHandler.
* nih/tree.c: New functions:
  - nih_tree_foreach()
  - nih_tree_count()
* nih/tree.h:
  - Prototypes for new functions:
    - nih_tree_foreach()
    - nih_tree_count()
  - New type: NihTreeHandler.
* nih/tests/test_hash.c:
  - New functions:
    - test_count()
    - test_foreach_func () and supporting functions:
      - hash_handler1()
      - hash_handler2()
      - hash_handler3()
  - Updated main to call test_foreach_func() and test_count().
  - Changed description for existing functions to make it clear that
    NIH_HASH_FOREACH() is a macro.
* nih/tests/test_list.c:
  - New functions:
    - test_count()
    - test_foreach_func() and supporting functions:
      - list_handler1()
      - list_handler2()
      - list_handler3()
  - Updated main to call test_foreach_func() and test_count().
  - Changed description for existing functions to make it clear that
    NIH_LIST_*() are macros.
* nih/tests/test_tree.c
  - New functions:
    - test_count()
    - test_foreach_func () and supporting functions:
      - tree_handler1()
      - tree_handler2()
      - tree_handler3()
  - Updated main to call test_foreach_func() and test_count().
  - Changed description for existing functions to make it clear that
    NIH_TREE_FOREACH_*() are macros.

lp://staging/~jamesodhunt/libnih/inotify-overflow-fix bug(Has a merge proposal) 1 Development 2011-05-04 13:15:22 UTC
1049. * nih/watch.c: nih_watch_reader(): Ha...

Author: James Hunt
Revision Date: 2011-04-26 15:44:45 UTC

* nih/watch.c: nih_watch_reader(): Handle situation where kernel
  is generating events faster than can be consumed by simply
  ignoring them. Failure to do so results in an assertion failure in
  nih_watch_handle_by_wd() since the inotify_event object will
  contain an invalid watch descriptor (-1).

lp://staging/~cjdahlin/libnih/nih-parse 1 Development 2010-02-20 02:00:33 UTC
1059. * nih/parse.c (nih_parse, nih_parse_o...

Author: Casey Dahlin
Revision Date: 2010-02-20 02:00:33 UTC

* nih/parse.c (nih_parse, nih_parse_or_raise): Report an error when we fail to
parse.

116 of 16 results
You can't create new branches for libnih.