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

Diff for /src/usr.bin/make/engine.c between version 1.54 and 1.55

version 1.54, 2017/07/24 12:08:15 version 1.55, 2018/11/27 09:33:48
Line 121 
Line 121 
 bool  bool
 node_find_valid_commands(GNode *gn)  node_find_valid_commands(GNode *gn)
 {  {
         /* Alter our type to tell if errors should be ignored or things  
          * should not be printed so setup_and_run_command knows what to do.  
          */  
         if (Targ_Ignore(gn))  
                 gn->type |= OP_IGNORE;  
         if (Targ_Silent(gn))  
                 gn->type |= OP_SILENT;  
   
         if (DEBUG(DOUBLE) && (gn->type & OP_DOUBLE))          if (DEBUG(DOUBLE) && (gn->type & OP_DOUBLE))
                 fprintf(stderr, "Warning: target %s had >1 lists of "                  fprintf(stderr, "Warning: target %s had >1 lists of "
                     "shell commands (ignoring later ones)\n", gn->name);                      "shell commands (ignoring later ones)\n", gn->name);
Line 258 
Line 250 
                 return;                  return;
         }          }
   
         if (!(gn->type & OP_SILENT)) {          if (!Targ_Silent(gn)) {
                 (void)fprintf(stdout, "touch %s\n", gn->name);                  (void)fprintf(stdout, "touch %s\n", gn->name);
                 (void)fflush(stdout);                  (void)fflush(stdout);
         }          }
Line 742 
Line 734 
         pid_t cpid;     /* Child pid */          pid_t cpid;     /* Child pid */
   
         const char *cmd = job->cmd;          const char *cmd = job->cmd;
         silent = job->node->type & OP_SILENT;          silent = Targ_Silent(job->node);
         errCheck = !(job->node->type & OP_IGNORE);          errCheck = !Targ_Ignore(job->node);
         if (job->node->type & OP_MAKE)          if (job->node->type & OP_MAKE)
                 doExecute = true;                  doExecute = true;
         else          else

Legend:
Removed from v.1.54  
changed lines
  Added in v.1.55