Commit e6d44fca by Jose Ruiz Committed by Arnaud Charlet

adaint.c (__gnat_tmp_name): RTSS applications do not support tempnam nor tmpnam...

2008-08-01  Jose Ruiz  <ruiz@adacore.com>

	* adaint.c (__gnat_tmp_name): RTSS applications do not support tempnam
	nor tmpnam, so we always use c:\WINDOWS\Temp\gnat-XXXXXX as temporary
	name.

From-SVN: r138474
parent d628c015
......@@ -982,7 +982,11 @@ __gnat_named_file_length (char *name)
void
__gnat_tmp_name (char *tmp_filename)
{
#ifdef __MINGW32__
#ifdef RTX
/* RTX in RTSS mode does not support tempnam nor tmpnam */
strcpy (tmp_filename, "c:\\WINDOWS\\Temp\\gnat-XXXXXX");
#elif defined (__MINGW32__)
{
char *pname;
......
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