]> git.ipfire.org Git - thirdparty/gcc.git/commit
string.c (compare0): Use gfc_charlen_type instead of int.
authorJanne Blomqvist <jb@gcc.gnu.org>
Sat, 26 May 2007 21:15:22 +0000 (00:15 +0300)
committerJanne Blomqvist <jb@gcc.gnu.org>
Sat, 26 May 2007 21:15:22 +0000 (00:15 +0300)
commit88fdfd5a86d9873cb5e25851a68963253d707761
tree284b051453fcf4ab80253b550ab8f310e5e3a4ec
parentc132497f1bf72635ce53a12dac9e432f0cdb8984
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
libgfortran/ChangeLog
libgfortran/io/list_read.c
libgfortran/io/open.c
libgfortran/io/transfer.c
libgfortran/io/write.c
libgfortran/libgfortran.h
libgfortran/runtime/string.c