Subject: Re: P_tmpdir
To: Steve Woodford <>
From: Jason R Thorpe <>
List: tech-toolchain
Date: 02/08/2002 18:14:26
On Sat, Feb 09, 2002 at 12:25:47AM +0000, Steve Woodford wrote:

 > I just noticed that in the absence of TMPDIR, TMP or TEMP in the
 > environment, new-toolchain's gcc uses /var/tmp for intermediate files.
 > Looking back at `old' toolchain, there's a NetBSD-specific kludge in
 > choose-temp.c which re-defines P_tmpdir to /tmp rather than the default
 > /var/tmp from stdio.h
 > It would be nice if the default was, once again, /tmp to regain the
 > advantages of using mfs.
 > Suggestions?

There is P_tmpdir documented?  Is there any harm in changing it
to /tmp in <stdio.h>?

        -- Jason R. Thorpe <>