[BACK]Return to job.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / make

Diff for /src/usr.bin/make/job.c between version 1.70 and 1.71

version 1.70, 2007/09/17 10:22:30 version 1.71, 2007/09/17 10:28:48
Line 729 
Line 729 
         if (shutUp) {          if (shutUp) {
                 if (!(job->flags & JOB_SILENT) && !noSpecials &&                  if (!(job->flags & JOB_SILENT) && !noSpecials &&
                     commandShell->hasEchoCtl) {                      commandShell->hasEchoCtl) {
                         DBPRINTF(job, "%s\n", commandShell->echoOff);                          DBPRINTF(job, "%s\n", SHELL_ECHO_OFF);
                 } else {                  } else {
                         shutUp = false;                          shutUp = false;
                 }                  }
Line 749 
Line 749 
                                  */                                   */
                                 if (!(job->flags & JOB_SILENT) && !shutUp &&                                  if (!(job->flags & JOB_SILENT) && !shutUp &&
                                     commandShell->hasEchoCtl) {                                      commandShell->hasEchoCtl) {
                                         DBPRINTF(job, "%s\n", commandShell->echoOff);                                          DBPRINTF(job, "%s\n", SHELL_ECHO_OFF);
                                         DBPRINTF(job, "%s\n", commandShell->ignErr);                                          DBPRINTF(job, "%s\n", SHELL_ERROR_OFF);
                                         DBPRINTF(job, "%s\n", commandShell->echoOn);                                          DBPRINTF(job, "%s\n", SHELL_ECHO_ON);
                                 } else {                                  } else {
                                         DBPRINTF(job, "%s\n", commandShell->ignErr);                                          DBPRINTF(job, "%s\n", SHELL_ERROR_OFF);
                                 }                                  }
                         } else if (commandShell->ignErr &&                          } else if (commandShell->ignErr &&
                             (*commandShell->ignErr != '\0')) {                              (*commandShell->ignErr != '\0')) {
Line 770 
Line 770 
                                  */                                   */
                                 if (!(job->flags & JOB_SILENT) && !shutUp &&                                  if (!(job->flags & JOB_SILENT) && !shutUp &&
                                     commandShell->hasEchoCtl) {                                      commandShell->hasEchoCtl) {
                                         DBPRINTF(job, "%s\n", commandShell->echoOff);                                          DBPRINTF(job, "%s\n", SHELL_ECHO_OFF);
                                         DBPRINTF(job, commandShell->errCheck, cmd);                                          DBPRINTF(job, SHELL_ERROR_ON, cmd);
                                         shutUp = true;                                          shutUp = true;
                                 }                                  }
                                 cmdTemplate = commandShell->ignErr;                                  cmdTemplate = SHELL_ERROR_OFF;
                                 /*                                  /*
                                  * The error ignoration (hee hee) is already                                   * The error ignoration (hee hee) is already
                                  * taken care of by the ignErr template, so                                   * taken care of by the ignErr template, so
Line 799 
Line 799 
                  */                   */
                 if (!shutUp && !(job->flags & JOB_SILENT) &&                  if (!shutUp && !(job->flags & JOB_SILENT) &&
                     commandShell->hasEchoCtl){                      commandShell->hasEchoCtl){
                         DBPRINTF(job, "%s\n", commandShell->echoOff);                          DBPRINTF(job, "%s\n", SHELL_ECHO_OFF);
                         shutUp = true;                          shutUp = true;
                 }                  }
                 DBPRINTF(job, "%s\n", commandShell->errCheck);                  DBPRINTF(job, "%s\n", SHELL_ERROR_ON);
         }          }
         if (shutUp) {          if (shutUp) {
                 DBPRINTF(job, "%s\n", commandShell->echoOn);                  DBPRINTF(job, "%s\n", SHELL_ECHO_ON);
         }          }
         return 1;          return 1;
 }  }

Legend:
Removed from v.1.70  
changed lines
  Added in v.1.71