gcc/libgfortran
Francois-Xavier Coudert 8824fd4cc1 re PR libfortran/24919 ([4.0] CRLF support in libgfortran)
PR libfortran/24919

	* io/list_read.c (eat_separator, finish_separator,
	read_character): Handle CRLF separators correctly during reads.
	(nml_query): Use the HAVE_CRLF macro to print adequate newlines.
	* io/io.h (st_parameter_dt): Add comment about the possible
	values for sf_seen_eor.
	* io/unix.c (tempfile, regular_file): HAVE_CRLF doesn't imply
	that O_BINARY is defined, so we add that condition.
	(stream_at_bof): Fix typo in comment.
	* io/transfer.c (read_sf): Handle correctly CRLF, setting
	sf_seen_eor value to 2 instead of 1.
	(formatted_transfer_scalar): Use the sf_seen_eor value to
	handle CRLF the right way.
	* io/write.c (nml_write_obj, namelist_write): Use CRLF as newline
	when HAVE_CRLF is defined.

	* gfortran.dg/ftell_1.f90: Modify testcase so that it doesn't
	fail on CRLF platforms.
	* gfortran.dg/ftell_2.f90: Likewise.

From-SVN: r107563
2005-11-27 11:42:46 +00:00
..
config fpu-glibc.h (set_fpu): Only call fedisableexcept for nonzero FE_ALL_EXCEPT. 2005-11-18 00:09:09 +00:00
generated re PR libfortran/21468 (vectorizing libfortran) 2005-11-14 21:48:31 +02:00
intrinsics re PR fortran/14943 (read/write code generation is not thread safe) 2005-11-21 23:03:56 +01:00
io re PR libfortran/24919 ([4.0] CRLF support in libgfortran) 2005-11-27 11:42:46 +00:00
m4 re PR libfortran/21468 (vectorizing libfortran) 2005-11-14 21:48:31 +02:00
runtime re PR fortran/14943 (read/write code generation is not thread safe) 2005-11-21 23:03:56 +01:00
acinclude.m4 re PR fortran/14943 (read/write code generation is not thread safe) 2005-11-21 23:03:56 +01:00
aclocal.m4 Makefile.am: Revert 2005-11-14 change. 2005-11-20 12:35:17 -08:00
c99_protos.h re PR libfortran/24432 (Missing symbols) 2005-10-19 09:45:27 +00:00
ChangeLog re PR libfortran/24919 ([4.0] CRLF support in libgfortran) 2005-11-27 11:42:46 +00:00
config.h.in re PR fortran/14943 (read/write code generation is not thread safe) 2005-11-21 23:03:56 +01:00
configure re PR fortran/14943 (read/write code generation is not thread safe) 2005-11-21 23:03:56 +01:00
configure.ac re PR fortran/14943 (read/write code generation is not thread safe) 2005-11-21 23:03:56 +01:00
configure.host acinclude.m4 (LIBGFOR_CHECK_FPSETMASK): New check. 2005-10-28 20:13:20 +00:00
fmain.c
libgfortran.h re PR fortran/14943 (read/write code generation is not thread safe) 2005-11-21 23:03:56 +01:00
libtool-version re PR fortran/14943 (read/write code generation is not thread safe) 2005-11-21 23:03:56 +01:00
Makefile.am re PR fortran/14943 (read/write code generation is not thread safe) 2005-11-21 23:03:56 +01:00
Makefile.in re PR fortran/14943 (read/write code generation is not thread safe) 2005-11-21 23:03:56 +01:00
mk-kinds-h.sh re PR libfortran/19308 (I/O library should support more real and integer kinds) 2005-10-03 07:22:20 +00:00
mk-sik-inc.sh
mk-srk-inc.sh