Changeset 4705 for trunk/Ohana/src/opihi/pantasks/CheckJobs.c
- Timestamp:
- Aug 3, 2005, 5:50:08 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/opihi/pantasks/CheckJobs.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/pantasks/CheckJobs.c
r4697 r4705 26 26 case JOB_CRASH: 27 27 /* run task[0].crash macro, if it exists */ 28 /* set the stdout and stderr variables with job.stdout, job.stderr */ 29 /* XXX this will break on 0 values in output streams */ 28 /* push output buffer data to the stdout and stderr queues */ 30 29 if (VerboseMode()) fprintf (stderr, "job %s (%d) crash\n", job[0].task[0].name, job[0].JobID); 31 30 PushNamedQueue ("stdout", job[0].stdout.buffer); 32 31 PushNamedQueue ("stderr", job[0].stderr.buffer); 32 /* XXX this will break on 0 values in output streams */ 33 /* perhaps define PushNamedQueueBuffer */ 33 34 if (job[0].task[0].crash != NULL) { 34 35 exec_loop (job[0].task[0].crash); … … 43 44 PushNamedQueue ("stderr", job[0].stderr.buffer); 44 45 /* run corresponding task[0].exit macro, if it exists */ 45 macro = job[0].task[0].def ;46 macro = job[0].task[0].defexit; 46 47 for (i = 0; i < job[0].task[0].Nexit; i++) { 47 48 if (job[0].exit_status == atoi(job[0].task[0].exit[i][0].name)) {
Note:
See TracChangeset
for help on using the changeset viewer.
