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

Viewing all changes in revision 357.

  • Committer: Scott James Remnant
  • Date: 2007-01-09 15:47:24 UTC
  • Revision ID: scott@netsplit.com-20070109154724-lmxhpnr2ayja0xjf
* init/job.h (Job): Rename pidfile to pid_file and binary to pid_binary
* init/job.c (job_new): Update names here too.
* init/errors.h: Add a new "duplicate value" error.
* init/cfgfile.c (cfg_read_job): Change name of variables, and catch
the duplicate value error to add the line number.
(cfg_stanza_pid): Change variable names, and clean this function up
a little.  Make it an error to use a stanza more than once.
* init/tests/test_cfgfile.c (test_stanza_pid): Write a newer test
case function for the pid stanza.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: