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

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/usr.bin/make/job.c between version 1.419 and 1.420

version 1.419, 2021/02/05 19:19:17 version 1.420, 2021/02/05 22:15:44
Line 1582  JobWriteShellCommands(Job *job, GNode *g
Line 1582  JobWriteShellCommands(Job *job, GNode *g
         }          }
   
         tfd = Job_TempFile(TMPPAT, tfile, sizeof tfile);          tfd = Job_TempFile(TMPPAT, tfile, sizeof tfile);
         if (!DEBUG(SCRIPT))  
             eunlink(tfile);  
   
         job->cmdFILE = fdopen(tfd, "w+");          job->cmdFILE = fdopen(tfd, "w+");
         if (job->cmdFILE == NULL)          if (job->cmdFILE == NULL)
Line 2768  Job_TempFile(const char *pattern, char *
Line 2766  Job_TempFile(const char *pattern, char *
   
         JobSigLock(&mask);          JobSigLock(&mask);
         fd = mkTempFile(pattern, tfile, tfile_sz);          fd = mkTempFile(pattern, tfile, tfile_sz);
           if (tfile != NULL && !DEBUG(SCRIPT))
               unlink(tfile);
         JobSigUnlock(&mask);          JobSigUnlock(&mask);
   
         return fd;          return fd;

Legend:
Removed from v.1.419  
changed lines
  Added in v.1.420

CVSweb <webmaster@jp.NetBSD.org>