diff options
author | etheisen <etheisen@cvs.openbsd.org> | 1996-02-18 06:50:59 +0000 |
---|---|---|
committer | etheisen <etheisen@cvs.openbsd.org> | 1996-02-18 06:50:59 +0000 |
commit | 2ffe1dbb8b6e588393c4a7f4f7a17c4a22fe72ef (patch) | |
tree | d3ae6543ed6d05bddc8923b3a29c4db2066d2438 /gnu/usr.bin/gcc/collect2.c | |
parent | 5b622e1305984d7eab1704279bfeb145885b36a3 (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/collect2.c')
-rw-r--r-- | gnu/usr.bin/gcc/collect2.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gnu/usr.bin/gcc/collect2.c b/gnu/usr.bin/gcc/collect2.c index a74a7f06992..ac040c693e4 100644 --- a/gnu/usr.bin/gcc/collect2.c +++ b/gnu/usr.bin/gcc/collect2.c @@ -642,10 +642,12 @@ choose_temp_base () if (base == (char *)0) { +#if 0 /* XXX - P_tmpdir is not /tmp - etheisen */ #ifdef P_tmpdir if (access (P_tmpdir, R_OK | W_OK) == 0) base = P_tmpdir; #endif +#endif /* XXX */ if (base == (char *)0) { if (access ("/usr/tmp", R_OK | W_OK) == 0) |