~xnox/ubuntu/vivid/upstart/fix-rotate-logs

Viewing all changes in revision 1182.1.26.

Update code to work with libnih 1.0.1
* init/tests/test_event.c (test_new): Replace TEST_ALLOC_ORPHAN(env)
with TEST_ALLOC_PARENT(env, NULL); discard environment after creating
event from it
* init/tests/test_event_operator.c (test_operator_new): Replace
TEST_ALLOC_ORPHAN(env) with TEST_ALLOC_PARENT(env, NULL); discard
environment after creating event from it
* init/tests/test_control.c (test_emit_event): Discard event
environment after emission
* init/init.supp: Add nih_alloc_ref_new() to init functions

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: