This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH, libiberty: new make_cwd_temp_file function
- From: Basile STARYNKEVITCH <basile at starynkevitch dot net>
- To: Ben Elliston <bje at au1 dot ibm dot com>
- Cc: gcc-patches at gcc dot gnu dot org, ian at airs dot com, DJ Delorie <dj at redhat dot com>
- Date: Thu, 16 Jul 2009 07:24:47 +0200
- Subject: Re: PATCH, libiberty: new make_cwd_temp_file function
- References: <1247717894.10229.7.camel@helios>
Ben Elliston wrote:
The LTO branch introduces the following new function in libiberty (and
it is used) :-). I propose to bring this patch into mainline in
preparation for the LTO merge. Tested with a bootstrap.
Index: include/libiberty.h
===================================================================
--- include/libiberty.h (revision 149700)
+++ include/libiberty.h (working copy)
@@ -215,6 +215,7 @@ extern char *choose_temp_base (void) ATT
/* Return a temporary file name or NULL if unable to create one. */
extern char *make_temp_file (const char *) ATTRIBUTE_MALLOC;
+extern char *make_cwd_temp_file (const char *) ATTRIBUTE_MALLOC;
I suggest adding a one line comment in libiberty.h
Regards.
--
Basile STARYNKEVITCH http://starynkevitch.net/Basile/
email: basile<at>starynkevitch<dot>net mobile: +33 6 8501 2359
8, rue de la Faiencerie, 92340 Bourg La Reine, France
*** opinions {are only mines, sont seulement les miennes} ***