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

Viewing all changes in revision 398.

  • Committer: Scott James Remnant
  • Date: 2007-02-03 18:20:00 UTC
  • Revision ID: scott@netsplit.com-20070203182000-ywvcjedx23rbabwv
* init/control.c: Add needed attributes; tidy up formatting.
(control_open): Don't let ENOMEM fail opening the control socket.
* init/control.h: Add needed attributes.
* init/tests/test_control.c (test_open): Test for failed allocation.
* init/main.c (term_handler): Make sure we catch failure to open
the control socket again.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: