gcc/libgfortran
Janne Blomqvist c20fdb917f Set close-on-exec flag when opening files.
2013-11-10  Janne Blomqvist  <jb@gcc.gnu.org>

	* configure.ac: Check presence of mkostemp.
	* io/unix.c (set_close_on_exec): New function.
	(tempfile_open): Use mkostemp and O_CLOEXEC if available, fallback
	to calling set_close_on_exec.
	(regular_file): Add O_CLOEXEC to flags if defined.
	(open_external): Call set_close_on_exec if O_CLOEXEC is not
	defined.
	* config.h.in: Regenerated.
	* configure: Regenerated.
	* Makefile.in: Regenerated.
	* aclocal.m4: Regenerated.

From-SVN: r204654
2013-11-10 22:34:29 +02:00
..
caf libcaf.h (_gfortran_caf_critical): Add a prototype. 2013-05-05 19:47:22 -04:00
config fpu-387.h (get_fpu_rounding_mode): Read rounding mode from SSE mxcsr register on x86_64. 2013-07-23 11:45:30 +02:00
generated Update copyright years in libgfortran. 2013-01-14 18:20:58 +00:00
intrinsics Simplify SYSTEM_CLOCK implementation. 2013-04-29 11:43:18 +03:00
io Set close-on-exec flag when opening files. 2013-11-10 22:34:29 +02:00
m4 Update copyright years in libgfortran. 2013-01-14 18:20:58 +00:00
runtime gfortran.h (gfc_option_t): Add fpe_summary. 2013-06-17 09:48:21 +02:00
acinclude.m4 Use -z ignore instead of --as-needed on Solaris 2013-05-24 09:23:33 +00:00
aclocal.m4 Set close-on-exec flag when opening files. 2013-11-10 22:34:29 +02:00
c99_protos.h Update copyright years in libgfortran. 2013-01-14 18:20:58 +00:00
ChangeLog Set close-on-exec flag when opening files. 2013-11-10 22:34:29 +02:00
ChangeLog-2002
ChangeLog-2003
ChangeLog-2004
ChangeLog-2005
ChangeLog-2006
ChangeLog-2007
ChangeLog-2008
ChangeLog-2009
ChangeLog-2010
ChangeLog-2011
ChangeLog-2012 ChangeLog rotation. 2013-01-03 10:47:48 +01:00
config.h.in Set close-on-exec flag when opening files. 2013-11-10 22:34:29 +02:00
configure Set close-on-exec flag when opening files. 2013-11-10 22:34:29 +02:00
configure.ac Set close-on-exec flag when opening files. 2013-11-10 22:34:29 +02:00
configure.host
fmain.c
gfortran.map re PR libfortran/36044 (user-requested backtrace) 2012-12-20 19:15:13 +01:00
kinds-override.h Update copyright years in libgfortran. 2013-01-14 18:20:58 +00:00
libgfortran.h re PR libfortran/35862 ([F2003] Implement new rounding modes for run time) 2013-07-21 13:54:27 +02:00
libgfortran.spec.in
libtool-version
Makefile.am
Makefile.in Set close-on-exec flag when opening files. 2013-11-10 22:34:29 +02:00
mk-kinds-h.sh
mk-sik-inc.sh
mk-srk-inc.sh