This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH, libiberty: new make_cwd_temp_file function


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} ***


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]