gcc/libgfortran/io
Janne Blomqvist f9bfed2243 string.c (compare0): Use gfc_charlen_type.
2009-04-08  Janne Blomqvist  <jb@gcc.gnu.org>

        * runtime/string.c (compare0): Use gfc_charlen_type.
        * runtime/error.c (gfc_itoa): Move to io/write.c
        (xtoa): Rename to gfc_xtoa.
        * runtime/backtrace.c (show_backtrace): Call gfc_xtoa.
        * intrinsics/cshift0.c (cshift0): Use index_type for shift arg.
        * intrinsics/date_and_time.c (date_and_time): Use index_type.
        (itime_i4): Likewise.
        (itime_i8): Likewise.
        (idate_i4): Likewise.
        (idate_i8): Likewise.
        (gmtime_i4): Likewise.
        (gmtime_i8): Likewise.
        (ltime_i4): Likewise.
        (ltime_i8): Likewise.
        * libgfortran.h (gfc_itoa): Remove prototype.
        (xtoa): Rename prototype to gfc_xtoa.
        * io/list_read.c (nml_read_obj): Use size_t for string length.
        * io/transfer.c (read_block_direct): Change nbytes arg from
        pointer to value.
        (unformatted_read): Minor cleanup, call read_block_directly properly.
        (skip_record): Use ssize_t.
        (next_record_w_unf): Avoid stell() call by calling sseek with SEEK_CUR.
        (iolength_transfer): Make sure to multiply before cast.
        * io/intrinsics.c (fgetc): Remove unnecessary variable.
        * io/format.c (format_hash): Use gfc_charlen_type.
        * io/write.c (itoa): Move from runtime/error.c:gfc_itoa, rename,
        make static.
        (write_i): Call with pointer to itoa.
        (write_z): Call with pointer to gfc_xtoa.
        (write_integer): Pointer to itoa.
        (nml_write_obj): Type cleanup, don't call strlen in loop.

From-SVN: r145758
2009-04-08 19:48:07 +03:00
..
close.c re PR fortran/31675 (Fortran front-end and libgfortran should have a common header file) 2007-09-03 16:44:15 +00:00
fbuf.c [multiple changes] 2009-04-05 20:13:56 +00:00
file_pos.c [multiple changes] 2009-04-05 20:13:56 +00:00
format.c string.c (compare0): Use gfc_charlen_type. 2009-04-08 19:48:07 +03:00
inquire.c re PR libfortran/37839 (st_parameter_dt has unwanted padding, is out of sync with compiler) 2008-11-22 09:10:41 +01:00
intrinsics.c string.c (compare0): Use gfc_charlen_type. 2009-04-08 19:48:07 +03:00
io.h io.h (struct stream): Rename truncate to trunc. 2009-04-06 11:32:03 -04:00
list_read.c string.c (compare0): Use gfc_charlen_type. 2009-04-08 19:48:07 +03:00
lock.c minloc1.m4: Update copyright year and ajust headers order. 2007-08-31 14:01:34 +00:00
open.c [multiple changes] 2009-04-05 20:13:56 +00:00
read.c [multiple changes] 2009-04-05 20:13:56 +00:00
size_from_kind.c minloc1.m4: Update copyright year and ajust headers order. 2007-08-31 14:01:34 +00:00
transfer.c string.c (compare0): Use gfc_charlen_type. 2009-04-08 19:48:07 +03:00
unit.c [multiple changes] 2009-04-05 20:13:56 +00:00
unix.c re PR libfortran/39664 (Revision 145571 breaks stdio) 2009-04-06 16:07:51 -07:00
write.c string.c (compare0): Use gfc_charlen_type. 2009-04-08 19:48:07 +03:00
write_float.def re PR libfortran/39402 (gfortran 20090306: internal write of 0.0 with F0.3 gives **) 2009-03-09 04:47:51 +00:00