Commit 402e1fd1 by Doug Evans

(choose_temp_base): Undo renaming. Yeesh.

From-SVN: r11837
parent 0980566f
/* Utility to pick a temporary directory. /* Utility to pick a temporary filename prefix.
Copyright (C) 1996 Free Software Foundation, Inc. Copyright (C) 1996 Free Software Foundation, Inc.
This file is part of the libiberty library. This file is part of the libiberty library.
...@@ -17,7 +17,7 @@ License along with libiberty; see the file COPYING.LIB. If ...@@ -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, not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */ Boston, MA 02111-1307, USA. */
/* This file exports one function: choose_tmpdir. */ /* This file exports one function: choose_temp_base. */
#if ! defined (_WIN32) && ! defined (NO_SYS_FILE_H) #if ! defined (_WIN32) && ! defined (NO_SYS_FILE_H)
#include <sys/file.h> /* May get R_OK, etc. on some systems. */ #include <sys/file.h> /* May get R_OK, etc. on some systems. */
...@@ -87,7 +87,7 @@ try (dir, base) ...@@ -87,7 +87,7 @@ try (dir, base)
The buffer for the result is obtained with xmalloc. */ The buffer for the result is obtained with xmalloc. */
char * char *
choose_tmpdir () choose_temp_base ()
{ {
char *base = 0; char *base = 0;
char *temp_filename; char *temp_filename;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment