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

Viewing all changes in revision 115.

  • Committer: Scott James Remnant
  • Date: 2006-08-22 15:31:07 UTC
  • Revision ID: scott@netsplit.com-20060822153107-3a1238b16faf6d62
* init/cfgfile.c: Correct a missing semi-colon in prototypes.
(cfg_parse_command): Function to parse any stanza that requires
a command and arguments list, e.g. exec/respawn/daemon.  We don't
want to require that the list be quoted, etc. and do want to allow
it to be folded over lines.
(cfg_tokenise): Function used by the above to tokenise the file,
handling things like \, quoted strings and newlines, etc.  Can be
used both to determine the length of the token and to copy it.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: