diff options
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/usr.bin/gcc/collect2.c | 2 | ||||
-rw-r--r-- | gnu/usr.bin/gcc/config/mips/mips.c | 2 | ||||
-rw-r--r-- | gnu/usr.bin/gcc/cp/g++.c | 2 | ||||
-rw-r--r-- | gnu/usr.bin/gcc/gcc.c | 2 |
4 files changed, 8 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) 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 diff --git a/gnu/usr.bin/gcc/cp/g++.c b/gnu/usr.bin/gcc/cp/g++.c index 7d4897dadcc..d51ae49d50c 100644 --- a/gnu/usr.bin/gcc/cp/g++.c +++ b/gnu/usr.bin/gcc/cp/g++.c @@ -280,9 +280,11 @@ choose_temp_base () base = choose_temp_base_try (getenv ("TMP"), base); base = choose_temp_base_try (getenv ("TEMP"), base); +#if 0 /* XXX - P_tmpdir is not /tmp - etheisen */ #ifdef P_tmpdir base = choose_temp_base_try (P_tmpdir, base); #endif +#endif /* XXX */ base = choose_temp_base_try ("/usr/tmp", base); base = choose_temp_base_try ("/tmp", base); diff --git a/gnu/usr.bin/gcc/gcc.c b/gnu/usr.bin/gcc/gcc.c index 7622771d8ff..fc6ca47e93b 100644 --- a/gnu/usr.bin/gcc/gcc.c +++ b/gnu/usr.bin/gcc/gcc.c @@ -1571,9 +1571,11 @@ choose_temp_base () base = choose_temp_base_try (getenv ("TMP"), base); base = choose_temp_base_try (getenv ("TEMP"), base); +#ifdef 0 /* XXX - P_tmpdir is not /tmp - etheisen */ #ifdef P_tmpdir base = choose_temp_base_try (P_tmpdir, base); #endif +#endif /* XXX */ base = choose_temp_base_try (concat4 (dir_separator_str, "usr", dir_separator_str, "tmp"), |