make job.c ChangeLog

Eli Zaretskii <[email protected]>
Newsgroups gmane.comp.gnu.make.devel
Message-ID <[email protected]>
CVSROOT:	/sources/make
Module name:	make
Changes by:	Eli Zaretskii <eliz>	12/12/07 14:11:15

Modified files:
	.              : job.c ChangeLog 

Log message:
	Avoid leaving temporary batch files in the temporary directory.
	
	 job.c (create_batch_file): Declare the counter of batch files
	 static, to avoid having 2 jobs using the same file name and
	 stepping on each other's toes.  When all 64K names are used up,
	 make one more loop looking for slots that became vacant.  This
	 avoids leaving behind temporary batch files in the temporary
	 directory, which happens frequently on a fast machine when using
	 parallel builds.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/make/job.c?cvsroot=make&r1=1.220&r2=1.221
http://cvs.savannah.gnu.org/viewcvs/make/ChangeLog?cvsroot=make&r1=2.490&r2=2.491
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.