From 0980566f5d49ff1fffd0fc2a211bda8783a90fb0 Mon Sep 17 00:00:00 2001 From: Doug Evans Date: Wed, 17 Apr 1996 18:41:12 +0000 Subject: [PATCH] (choose_tmpdir): Renamed from choose_temp_base. #include . From-SVN: r11836 --- gcc/choose-temp.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/gcc/choose-temp.c b/gcc/choose-temp.c index 009147fbc41..73a741167b0 100644 --- a/gcc/choose-temp.c +++ b/gcc/choose-temp.c @@ -17,7 +17,7 @@ License along with libiberty; see the file COPYING.LIB. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -/* This file exports one function: choose_temp_base. */ +/* This file exports one function: choose_tmpdir. */ #if ! defined (_WIN32) && ! defined (NO_SYS_FILE_H) #include /* May get R_OK, etc. on some systems. */ @@ -29,6 +29,8 @@ Boston, MA 02111-1307, USA. */ #define X_OK 1 #endif +#include /* May get P_tmpdir. */ + #ifdef IN_GCC #include "config.h" #include "gansidecl.h" @@ -85,7 +87,7 @@ try (dir, base) The buffer for the result is obtained with xmalloc. */ char * -choose_temp_base () +choose_tmpdir () { char *base = 0; char *temp_filename; -- 2.30.2