lp:~jamesodhunt/libnih/strchr-fixes

Created by James Hunt on 2011-08-30 and last modified on 2011-08-30
Get this branch:
bzr branch lp:~jamesodhunt/libnih/strchr-fixes
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:
Merged

Recent revisions

1053. By James Hunt on 2011-08-30

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

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

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

* NEWS: Release 1.0.3

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

* 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) on 2010-04-27

* configure.ac: Bump version to 1.0.3
* 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