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

Viewing all changes in revision 618.

  • Committer: Scott James Remnant
  • Date: 2007-03-04 14:37:12 UTC
  • Revision ID: scott@netsplit.com-20070304143712-vujjektnizi5xmk7
* upstart/message.h: Turns out we need extra errors to indicate that
the job was deleted or already at that goal, otherwise the client
would sit there waiting for the finished event. 
* upstart/message.c (upstart_message_new, upstart_message_handle):
Marshal the new error messages.
* upstart/tests/test_message.c (test_new, my_handler) 
(test_handle): Test the handling of the new messages.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: