------- Comment #3 from burnus at gcc dot gnu dot org  2010-04-22 06:57 -------
I also do not like:

>  if (tempdir == NULL)
>    tempdir = DEFAULT_TEMPDIR;  /* This is "/tmp".  */

My feeling is that, e.g., on Windows this won't work; I do not know whether
before the environment variables "GFORTRAN_TMPDIR", "TMP" and "TEMP" are used
or not, but "/tmp" does exist on many Windows systems.

Kai, what's the best way to find out the temporary directory under Windows
(MinGW/MinGW64/Cygwin)? And, do you see something obviously wrong with the code
in comment 1
(alias
http://gcc.gnu.org/git/?p=gcc.git;a=blob;f=libgfortran/io/unix.c;hb=HEAD#l868 )


-- 

burnus at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ktietz at gcc dot gnu dot
                   |                            |org, burnus at gcc dot gnu
                   |                            |dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43844

Reply via email to