gcc/libgfortran
Janne Blomqvist 68ee9c0807 Fix handling of temporary files.
2012-05-05  Janne Blomqvist  <jb@gcc.gnu.org>

        * gfortran.texi (GFORTRAN_TMPDIR): Rename to TMPDIR, explain
        algorithm for choosing temp directory.


2012-05-05  Janne Blomqvist  <jb@gcc.gnu.org>

        * config.h.in: Regenerated.
        * configure: Regenerated.
        * configure.ac: Add checks for getegid and __secure_getenv.
        * io/unix.c (P_tmpdir): Fallback definition for macro.
        (tempfile_open): New function.
        (tempfile): Use secure_getenv, call tempfile_open to try each
        directory in turn.
        * libgfortran.h (DEFAULT_TMPDIR): Remove macro.
        (secure_getenv): New macro/prototype.
        * runtime/environ.c (secure_getenv): New function.
        (variable_table): Rename GFORTRAN_TMPDIR to TMPDIR.
        * runtime/main.c (find_addr2line): Use secure_getenv.

From-SVN: r187190
2012-05-05 09:30:51 +03:00
..
caf 2012-01-06 Tobias Burnus <burnus@net-b.de> 2012-01-06 14:38:49 +01:00
config
generated cshift0.m4 (cshift0_'rtype_code`): Guard use of modulo. 2012-04-10 15:39:22 +00:00
intrinsics re PR libfortran/38199 (missed optimization: I/O performance) 2012-04-15 11:52:44 +00:00
io Fix handling of temporary files. 2012-05-05 09:30:51 +03:00
m4 cshift0.m4 (cshift0_'rtype_code`): Guard use of modulo. 2012-04-10 15:39:22 +00:00
runtime Fix handling of temporary files. 2012-05-05 09:30:51 +03:00
acinclude.m4 configure.ac: Use GCC_CHECK_MATH_FUNC for math functions. 2012-03-26 08:43:56 +00:00
aclocal.m4 configure.ac: Make more cross-compile friendly. 2011-11-09 18:17:57 +01:00
c99_protos.h
ChangeLog Fix handling of temporary files. 2012-05-05 09:30:51 +03:00
ChangeLog-2002
ChangeLog-2003
ChangeLog-2004
ChangeLog-2005
ChangeLog-2006
ChangeLog-2007
ChangeLog-2008
ChangeLog-2009
ChangeLog-2010
ChangeLog-2011 2012-01-09 Richard Guenther <rguenther@suse.de> 2012-01-09 10:11:38 +00:00
config.h.in Fix handling of temporary files. 2012-05-05 09:30:51 +03:00
configure Fix handling of temporary files. 2012-05-05 09:30:51 +03:00
configure.ac Fix handling of temporary files. 2012-05-05 09:30:51 +03:00
configure.host
fmain.c
gfortran.map
kinds-override.h
libgfortran.h Fix handling of temporary files. 2012-05-05 09:30:51 +03:00
libgfortran.spec.in
libtool-version
Makefile.am Combined get_mem and internal_malloc_size. 2012-03-26 18:16:05 +03:00
Makefile.in Combined get_mem and internal_malloc_size. 2012-03-26 18:16:05 +03:00
mk-kinds-h.sh
mk-sik-inc.sh
mk-srk-inc.sh