gcc/libgfortran/io
Janne Blomqvist 88fdfd5a86 string.c (compare0): Use gfc_charlen_type instead of int.
2007-05-27  Janne Blomqvist  <jb@gcc.gnu.org>

	* runtime/string.c (compare0): Use gfc_charlen_type instead of int.
	(fstrlen): Likewise.
	(find_option): Likewise.
	(fstrcpy): Use gfc_charlen_type instead of int, return length.
	(cf_strcpy): Likewise.
	* libgfortran.h: Change string prototypes to use gfc_charlen_type.
	* io/open.c (new_unit): Use snprintf if available.
	* io/list_read.c (nml_touch_nodes): Use memcpy instead of strcpy/strcat.
	(nml_read_obj): Likewise.
	* io/transfer.c (st_set_nml_var): Likewise.
	* io/write.c (output_float): Use snprintf if available.
	(nml_write_obj) Use memcpy instead of strcpy/strcat.

From-SVN: r125100
2007-05-27 00:15:22 +03:00
..
close.c re PR fortran/28335 (flush() / write() statement on closed units - error?) 2006-07-31 00:15:08 +00:00
file_pos.c re PR libfortran/31532 (INQUIRE(...,POSITION=...) not standard conforming) 2007-04-28 02:03:21 +00:00
format.c re PR fortran/31395 ([4.2 Only] Colon edit descriptor is ignored unless preceded by a comma or a slash) 2007-04-06 15:39:02 +00:00
inquire.c re PR libfortran/31532 (INQUIRE(...,POSITION=...) not standard conforming) 2007-04-28 02:03:21 +00:00
intrinsics.c re PR target/22539 (Internal compiler error with maximum sized array) 2007-05-04 14:02:18 -04:00
io.h re PR libfortran/31607 (CALL SYSTEM produces garbled output when writing to a buffered file) 2007-05-07 19:48:40 +00:00
list_read.c string.c (compare0): Use gfc_charlen_type instead of int. 2007-05-27 00:15:22 +03:00
lock.c re PR fortran/31201 (Too large unit number generates wrong code) 2007-05-06 22:28:31 +00:00
open.c string.c (compare0): Use gfc_charlen_type instead of int. 2007-05-27 00:15:22 +03:00
read.c 2006-11-08 Steven G. Kargl <kargl@gcc.gnu.org> 2006-11-09 03:57:44 +00:00
size_from_kind.c random.c: Include config.h 2005-11-27 17:09:40 -05:00
transfer.c string.c (compare0): Use gfc_charlen_type instead of int. 2007-05-27 00:15:22 +03:00
unit.c re PR libfortran/31501 (libgfortran internal unit I/O performance issues) 2007-04-28 23:23:35 +00:00
unix.c unix.c (unix_stream): Rearrange struct members, remove small_buffer. 2007-05-26 23:50:21 +03:00
write.c string.c (compare0): Use gfc_charlen_type instead of int. 2007-05-27 00:15:22 +03:00