lp://staging/~jamesodhunt/libnih/bug-776532
- Get this branch:
- bzr branch lp://staging/~jamesodhunt/libnih/bug-776532
Branch merges
- Steve Langasek: Disapprove
-
Diff: 167 lines (+102/-1)3 files modifiedChangeLog (+10/-0)
nih/file.c (+32/-1)
nih/tests/test_watch.c (+60/-0)
- Steve Langasek (community): Disapprove
- Scott James Remnant: Approve
-
Diff: 167 lines (+102/-1)3 files modifiedChangeLog (+10/-0)
nih/file.c (+32/-1)
nih/tests/test_watch.c (+60/-0)
Related bugs
Bug #776532: nih_dir_walk_scan passes incorrect value to file filter | Undecided | Triaged |
Related blueprints
Branch information
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. - 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. - 1047. By Scott James Remnant (Canonical)
-
* 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://staging/libnih