Changeset 4451 for trunk/Ohana/src/opihi/pantasks/CheckJobs.c
- Timestamp:
- Jul 4, 2005, 6:29:10 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
r4450 r4451 34 34 35 35 case JOB_CRASH: 36 fprintf (stderr, "job %s (%d) crash\n", job[0].task[0].name, job[0].JobID);37 36 /* run task[0].crash macro, if it exists */ 38 37 /* set the stdout and stderr variables with job.stdout, job.stderr */ 39 38 /* XXX this will break on 0 values in output streams */ 39 fprintf (stderr, "job %s (%d) crash\n", job[0].task[0].name, job[0].JobID); 40 40 set_str_variable ("stdout", job[0].stdout.buffer); 41 41 set_str_variable ("stderr", job[0].stderr.buffer); … … 49 49 case JOB_EXIT: 50 50 fprintf (stderr, "job %s (%d) exit\n", job[0].task[0].name, job[0].JobID); 51 set_str_variable ("stdout", job[0].stdout.buffer); 52 set_str_variable ("stderr", job[0].stderr.buffer); 51 53 /* run corresponding task[0].exit macro, if it exists */ 52 54 macro = job[0].task[0].def;
Note:
See TracChangeset
for help on using the changeset viewer.
