~mdeslaur/upstart/apparmor-support

Viewing all changes in revision 1208.

  • Committer: Scott James Remnant
  • Date: 2010-02-04 03:56:40 UTC
  • Revision ID: scott@netsplit.com-20100204035640-vultaotbwfbvq4sm
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: