[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.53 and 1.54

version 1.53, 2017/07/09 15:28:00 version 1.54, 2017/07/24 12:08:15
Line 734 
Line 734 
 }  }
   
 static bool  static bool
 do_run_command(Job *job)  do_run_command(Job *job, const char *pre)
 {  {
         bool silent;    /* Don't print command */          bool silent;    /* Don't print command */
         bool doExecute; /* Execute the command */          bool doExecute; /* Execute the command */
Line 752 
Line 752 
         /* How can we execute a null command ? we warn the user that the          /* How can we execute a null command ? we warn the user that the
          * command expanded to nothing (is this the right thing to do?).  */           * command expanded to nothing (is this the right thing to do?).  */
         if (*cmd == '\0') {          if (*cmd == '\0') {
                 Error("%s expands to empty string", cmd);                  Parse_Error(PARSE_WARNING,
                       "'%s' expands to '' while building %s",
                       pre, job->node->name);
                 return false;                  return false;
         }          }
   
Line 833 
Line 835 
                 job->next_cmd = Lst_Adv(job->next_cmd);                  job->next_cmd = Lst_Adv(job->next_cmd);
                 if (fatal_errors)                  if (fatal_errors)
                         Punt(NULL);                          Punt(NULL);
                 started = do_run_command(job);                  started = do_run_command(job, command->string);
                 if (started)                  if (started)
                         return false;                          return false;
                 else                  else

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