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
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
intrinsics
io Set close-on-exec flag when opening files. 2013-11-10 22:34:29 +02:00
m4
runtime
acinclude.m4
aclocal.m4 Set close-on-exec flag when opening files. 2013-11-10 22:34:29 +02:00
c99_protos.h
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
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
kinds-override.h
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