summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/gcc/config
diff options
context:
space:
mode:
authoretheisen <etheisen@cvs.openbsd.org>1996-02-18 06:50:59 +0000
committeretheisen <etheisen@cvs.openbsd.org>1996-02-18 06:50:59 +0000
commit2ffe1dbb8b6e588393c4a7f4f7a17c4a22fe72ef (patch)
treed3ae6543ed6d05bddc8923b3a29c4db2066d2438 /gnu/usr.bin/gcc/config
parent5b622e1305984d7eab1704279bfeb145885b36a3 (diff)
gcc and g++ now use /tmp instead of /var/tmp. #ifdef 0's were used to
elminate gcc's use of P_tmpdir. P_tmpdir was defined in stdio.h and includes order in gcc prevented overriding it.
Diffstat (limited to 'gnu/usr.bin/gcc/config')
-rw-r--r--gnu/usr.bin/gcc/config/mips/mips.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gnu/usr.bin/gcc/config/mips/mips.c b/gnu/usr.bin/gcc/config/mips/mips.c
index a978c198dba..205d81f3ed4 100644
--- a/gnu/usr.bin/gcc/config/mips/mips.c
+++ b/gnu/usr.bin/gcc/config/mips/mips.c
@@ -3961,11 +3961,13 @@ make_temp_file ()
if (base == (char *)0)
{
+#ifdef 0 /* XXX - P_tmpdir is not /tmp - erik */
#ifdef P_tmpdir
if (access (P_tmpdir, R_OK | W_OK) == 0)
base = P_tmpdir;
else
#endif
+#endif /* XXX */
if (access ("/usr/tmp", R_OK | W_OK) == 0)
base = "/usr/tmp/";
else