Subject: Re: P_tmpdir
To: None <email@example.com>
From: Izumi Tsutsui <firstname.lastname@example.org>
Date: 02/09/2002 12:07:51
In article <20020208181426.Q14056@dr-evil.shagadelic.org>
> On Sat, Feb 09, 2002 at 12:25:47AM +0000, Steve Woodford wrote:
> > 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.
> There is P_tmpdir documented?
Not sure, but it is mentioned in stdio.h:
> /* System V/ANSI C; this is the wrong way to do this, do *not* use these. */
> #ifndef _ANSI_SOURCE
> #define P_tmpdir "/var/tmp/"
> Is there any harm in changing it
> to /tmp in <stdio.h>?
I think we should change choose-temp.c (which is now in libiberty/)
like gnu/dist/gcc/choose-temp.c rev 1.2, rather than stdio.h.