lp:~vapier/libnih/libnih

Created by Mike Frysinger on 2015-05-21 and last modified on 2015-05-21
Get this branch:
bzr branch lp:~vapier/libnih/libnih
Only Mike Frysinger can upload to this branch. If you are Mike Frysinger please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Mike Frysinger
Project:
libnih
Status:
Development

Recent revisions

1056. By Mike Frysinger <email address hidden> on 2015-05-21

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.

1055. By Mike Frysinger on 2011-10-19

use $(libdir) for pkg-config files rather than hardcode /lib/

Since pkg-config searches ABI specific paths, use the ABI specific
libdir variable rather than hardcoding /lib/. This follows what
everyone else does with their .pc install.

1054. By Scott James Remnant (Canonical) on 2011-09-01

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

1053. By Scott James Remnant (Canonical) on 2011-08-31

* nih/string.c (nih_str_split): Fixes to avoid over-running
input string and also returning an empty string array entry
when repeat is true (LP: #834813).
* nih/tests/test_string.c (test_str_split): Added a lot of new
tests for nih_str_split().

1052. By Scott James Remnant (Canonical) on 2011-08-26

* nih/io.c (nih_io_select_fds): Ensure number of fds being managed
is within limits.

1051. By Scott James Remnant (Canonical) on 2011-08-26

Bump copyright dates to 2011

1050. By Scott James Remnant (Canonical) on 2011-08-26

* nih/config.c, nih/error.h, nih/io.c, nih/test_files.h: Correct
typos in comments.

1049. By Scott James Remnant (Canonical) on 2011-06-20

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

1048. By Scott James Remnant (Canonical) on 2011-01-14

Typo fixes from James

1047. By Scott James Remnant (Canonical) on 2010-12-23

* configure.ac: Bump version to 1.0.4
* NEWS: Begin new release

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:libnih
This branch contains Public information 
Everyone can see this information.

Subscribers