gcc/libgfortran
Janne Blomqvist 89a862b40a PR 56981 Flush buffer at record boundary if possible.
2014-06-08  Janne Blomqvist  <jb@gcc.gnu.org>

	PR libfortran/56981
	* io/unix.h (struct stream_vtable): Add new member function,
	markeor.
	(smarkeor): New inline function.
	(flush_if_unbuffered): Remove prototype.
	* io/unix.c (raw_markeor): New function.
	(raw_vtable): Initialize markeor member.
	(buf_markeor): New function.
	(buf_vtable): Initialize markeor member.
	(mem_vtable): Likewise.
	(mem4_vtable): Likewise.
	(flush_if_unbuffered): Remove function.
	* io/transfer.c (next_record): Call smarkeor instead of
	flush_if_unbuffered.

From-SVN: r211353
2014-06-08 08:43:29 +03:00
..
caf trans-intrinsic.c (gfc_build_builtin_function_decls): Change type of second argument to int. 2014-05-11 20:25:55 +02:00
config Remove obsolete Solaris 9 support 2014-04-22 12:30:59 +00:00
generated Update copyright years in libgfortran/ 2014-01-02 22:25:45 +00:00
intrinsics getcwd.c: Include stdlib.h. 2014-05-27 11:15:52 +02:00
io PR 56981 Flush buffer at record boundary if possible. 2014-06-08 08:43:29 +03:00
m4 Update copyright years in libgfortran/ 2014-01-02 22:25:45 +00:00
runtime Introduce xrealloc, use it. 2014-05-26 23:56:45 +03:00
ChangeLog PR 56981 Flush buffer at record boundary if possible. 2014-06-08 08:43:29 +03:00
ChangeLog-2002
ChangeLog-2003
ChangeLog-2004
ChangeLog-2005
ChangeLog-2006
ChangeLog-2007
ChangeLog-2008
ChangeLog-2009
ChangeLog-2010
ChangeLog-2011
ChangeLog-2012
Makefile.am
Makefile.in Set close-on-exec flag when opening files. 2013-11-10 22:34:29 +02:00
acinclude.m4
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/ 2014-01-02 22:25:45 +00:00
config.h.in PR 60324 Handle long path names, don't use PATH_MAX. 2014-05-22 06:51:25 +03:00
configure configure.ac [...] (HAVE_STRNLEN, [...]): Define. 2014-05-23 02:06:40 +00:00
configure.ac configure.ac [...] (HAVE_STRNLEN, [...]): Define. 2014-05-23 02:06:40 +00:00
configure.host
fmain.c
gfortran.map
kinds-override.h Update copyright years in libgfortran/ 2014-01-02 22:25:45 +00:00
libgfortran.h Introduce xrealloc, use it. 2014-05-26 23:56:45 +03:00
libgfortran.spec.in
libtool-version
mk-kinds-h.sh
mk-sik-inc.sh
mk-srk-inc.sh