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

Viewing all changes in revision 954.

  • Committer: Scott James Remnant
  • Date: 2008-05-09 01:35:26 UTC
  • Revision ID: scott@netsplit.com-20080509013526-eo9pjfncblm7gm84
* init/job_class.c (job_class_new): initialise instance to the
empty string.
* init/tests/test_job_class.c: Update job_new() calls.
(test_new): Check instance against the empty string.
* init/job.c (job_new): name may no longer be NULL.
* init/tests/test_job.c: Update job_new() calls.
(test_instance): Reset back to "" when done.
* init/event.c (event_pending_handle_jobs): Always expand the
name, since the class->instance is always non-NULL.
* init/tests/test_event.c: Update job_new calls.
* init/tests/test_conf.c: Update job_new calls.
* init/tests/test_job_process.c: Update job_new calls.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: