On Mon, Jan 11, 2010 at 09:16:42AM +0000, Hartmut Brandt wrote: > @@ -1807,8 +1807,6 @@ JobStart(GNode *gn, int flags, Job *prev > } else { > fprintf(stdout, "Remaking `%s'\n", gn->name); > fflush(stdout); > - if ((tdir = getenv("TMPDIR")) == NULL) > - tdir = TMPDIR; > snprintf(job->outFile, sizeof(job->outFile), "%s/%s", > tdir, TMPPAT); > if ((job->outFd = mkstemp(job->outFile)) == -1)
With the presence of .EXPORTVAR directive (setenv() called) TMPDIR environment can be changed on the fly, so perhaps this lines are for reason. -- http://ache.pp.ru/ _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"