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

Viewing all changes in revision 851.

  • Committer: Scott James Remnant
  • Date: 2008-03-02 01:33:06 UTC
  • Revision ID: scott@netsplit.com-20080302013306-y3ljqv0v51vl0q8j
* init/process.c (process_spawn): Accept the environment list as
a parameter, then finally we can change this function to take a
JobConfig as the first argument.
(process_error_read): Remove the associated error handler.
* init/process.h: Change prototype.
(ProcessErrorType): Remove error enum for environment.
* init/tests/test_process.c (test_spawn): Update calls in test to
just pass in an environment array (direct testing).
* init/job.c (job_run_process): Pass configuration and environment
to process_spawn.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: