gcc/libgfortran/io
Janne Blomqvist c0ab1530d4 Use gfc_charlen_type instead of int for string lenghts
This patch cleans up a few places where I noticed the code was still
using int instead gfc_charlen_type for string lengths.  Regtested on
x86_64-pc-linux-gnu, committed as obvious.

libgfortran/ChangeLog:

2018-10-06  Janne Blomqvist  <jb@gcc.gnu.org>

	* io/unix.c (compare_file_filename): Use gfc_charlen_type instead
	of int for string length.
	(inquire_sequential): Likewise.
	(inquire_direct): Likewise.
	(inquire_formatted): Likewise.
	(inquire_unformatted): Likewise.
	(inquire_access): Likewise.
	(inquire_read): Likewise.
	(inquire_write): Likewise.
	(inquire_readwrite): Likewise.
	* io/unix.h (compare_file_filename): Likewise.
	(inquire_sequential): Likewise.
	(inquire_direct): Likewise.
	(inquire_formatted): Likewise.
	(inquire_unformatted): Likewise.
	(inquire_read): Likewise.
	(inquire_write): Likewise.
	(inquire_readwrite): Likewise.

From-SVN: r264901
2018-10-06 21:21:00 +03:00
..
async.c re PR fortran/25829 ([F03] Asynchronous IO support) 2018-08-21 18:48:59 +00:00
async.h * io/async.h: Use __gthread_mutex_t, not pthread_mutex_t. 2018-09-05 10:28:45 +00:00
close.c * io/close.c [!HAVE_UNLINK_OPEN_FILE]: Include <string.h>. 2018-10-02 20:02:03 +00:00
fbuf.c PR 78534, 83704 Handle large formatted I/O 2018-01-07 12:17:52 +02:00
fbuf.h PR 78534, 83704 Handle large formatted I/O 2018-01-07 12:17:52 +02:00
file_pos.c re PR fortran/25829 ([F03] Asynchronous IO support) 2018-08-21 18:48:59 +00:00
format.c io.h: Change declaration of vlist type to gfc_full_array_i4 to eliminate warning for... 2018-09-02 15:55:51 +00:00
format.h io.h: Change declaration of vlist type to gfc_full_array_i4 to eliminate warning for... 2018-09-02 15:55:51 +00:00
inquire.c re PR fortran/25829 ([F03] Asynchronous IO support) 2018-08-21 18:48:59 +00:00
intrinsics.c
io.h io.h: Change declaration of vlist type to gfc_full_array_i4 to eliminate warning for... 2018-09-02 15:55:51 +00:00
list_read.c gfortran.h (gfc_dt): Rename default_exp field to dec_ext. 2018-03-28 13:59:06 +02:00
lock.c
open.c re PR fortran/25829 ([F03] Asynchronous IO support) 2018-08-21 18:48:59 +00:00
read.c re PR fortran/25829 ([F03] Asynchronous IO support) 2018-08-21 18:48:59 +00:00
size_from_kind.c
transfer128.c
transfer.c re PR fortran/25829 ([F03] Asynchronous IO support) 2018-08-21 18:48:59 +00:00
unit.c re PR fortran/25829 ([F03] Asynchronous IO support) 2018-08-21 18:48:59 +00:00
unix.c Use gfc_charlen_type instead of int for string lenghts 2018-10-06 21:21:00 +03:00
unix.h Use gfc_charlen_type instead of int for string lenghts 2018-10-06 21:21:00 +03:00
write_float.def re PR libfortran/86070 (gfortran.dg/fmt_zero_digits.f90 segmentation fault starting with r261077) 2018-06-10 01:49:02 +00:00
write.c re PR fortran/85840 (Memory leak in write.c) 2018-05-28 21:55:31 +00:00