~vorlon/ubuntu/raring/upstart/lp.1199778

Viewing all changes in revision 992.

  • Committer: Scott James Remnant
  • Date: 2008-06-06 01:09:38 UTC
  • Revision ID: scott@netsplit.com-20080606010938-xdf7bkoeem4t0km6
* init/event.c (event_new): There's no reason this shouldn't be
allowed to return insufficient memory, so do so.
(event_finished): Wrap call.
* init/tests/test_event.c (test_new): Add alloc failed test.
* init/job.c (job_emit_event): Must create the event.
* init/main.c (main, cad_handler, kbd_handler, pwr_handler): Wrap
with NIH_MUST

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: