lp://staging/~jamesodhunt/libnih/bug-776532

Created by James Hunt and last modified
Get this branch:
bzr branch lp://staging/~jamesodhunt/libnih/bug-776532
Only James Hunt can upload to this branch. If you are James Hunt please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
James Hunt
Project:
libnih
Status:
Development

Recent revisions

1055. By James Hunt

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

1054. By Scott James Remnant (Canonical)

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

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

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

1051. By Scott James Remnant (Canonical)

Bump copyright dates to 2011

1050. By Scott James Remnant (Canonical)

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

1049. By Scott James Remnant (Canonical)

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

Typo fixes from James

1047. By Scott James Remnant (Canonical)

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

1046. By Scott James Remnant (Canonical)

* NEWS: Release 1.0.3

Branch metadata

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

Subscribers