IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 4, 2005, 6:29:10 PM (21 years ago)
Author:
eugene
Message:

fixed up some bugs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/pantasks/CheckJobs.c

    r4450 r4451  
    3434
    3535      case JOB_CRASH:
    36         fprintf (stderr, "job %s (%d) crash\n", job[0].task[0].name, job[0].JobID);
    3736        /* run task[0].crash macro, if it exists */
    3837        /* set the stdout and stderr variables with job.stdout, job.stderr */
    3938        /* 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);
    4040        set_str_variable ("stdout", job[0].stdout.buffer);
    4141        set_str_variable ("stderr", job[0].stderr.buffer);
     
    4949      case JOB_EXIT:
    5050        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);
    5153        /* run corresponding task[0].exit macro, if it exists */
    5254        macro = job[0].task[0].def;
Note: See TracChangeset for help on using the changeset viewer.