tech-toolchain archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: make: don't use bogus $TMPDIR



On Thu, Apr 22, 2010 at 12:36:12AM -0700, Simon J. Gerraty wrote:
 > Job_Init was using $TMPDIR from the environment, but that doesn't
 > ensure it is valid....
 > 
 > I've a need for this in more than one place so making tmpDir a global.

Looks reasonable, except that if it were me I'd centralize the code
for setting up a temporary file, and make the tmpdir variable private
there.

You also included the previous patch in this one :-p

-- 
David A. Holland
dholland%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index