]> git.ipfire.org Git - thirdparty/gcc.git/commit - libgfortran/ChangeLog
Use gfc_charlen_type instead of int for string lenghts
authorJanne Blomqvist <jb@gcc.gnu.org>
Sat, 6 Oct 2018 18:21:00 +0000 (21:21 +0300)
committerJanne Blomqvist <jb@gcc.gnu.org>
Sat, 6 Oct 2018 18:21:00 +0000 (21:21 +0300)
commitc0ab1530d46c0170c556e5d5ddfa999ef9d8ce47
treeddca4a4c0044e8700f01e926f370781e4f702a5b
parent7318fdcaaabd65b2fc4a38ef2867a94d1550b11a
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
libgfortran/ChangeLog
libgfortran/io/unix.c
libgfortran/io/unix.h