Changeset 751 for trunk/src


Ignore:
Timestamp:
Jan 3, 2007, 10:44:39 PM (19 years ago)
Author:
bird
Message:

print the failing command if it was a silent one.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/gmake/job.c

    r591 r751  
    762762
    763763          if (!dontcare)
     764#ifdef KMK
     765            {
     766              child_error (c->file->name, exit_code, exit_sig, coredump, 0);
     767              if ((  c->file->cmds->lines_flags[c->command_line - 1]
     768                   & (COMMANDS_SILENT | COMMANDS_RECURSE))
     769                  == COMMANDS_SILENT)
     770                message (0, "The failing command:\n%s", c->file->cmds->command_lines[c->command_line - 1]);
     771            }
     772#else
    764773            child_error (c->file->name, exit_code, exit_sig, coredump, 0);
     774#endif
    765775
    766776          c->file->update_status = 2;
Note: See TracChangeset for help on using the changeset viewer.