OSDN Git Service

* libgfortran.h (GFC_ITOA_BUF_SIZE, GFC_XTOA_BUF_SIZE,
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 1 Oct 2005 11:50:10 +0000 (11:50 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 1 Oct 2005 11:50:10 +0000 (11:50 +0000)
commit556d02696528fbe7eacce1db1fab1e8bb7e6b736
treebe9e8c61a086ff18a3169c8a58d1c4886f88a747
parent5fd21b6e5e4dde449a048e7d66ecb5ffeb93607b
* libgfortran.h (GFC_ITOA_BUF_SIZE, GFC_XTOA_BUF_SIZE,
GFC_OTOA_BUF_SIZE, GFC_BTOA_BUF_SIZE): Define.
(gfc_itoa, xtoa): Add 2 extra arguments.
* runtime/environ.c: Include stdio.h.
(check_buffered): Use sprintf.
* runtime/error.c: Include assert.h.
(gfc_itoa, xtoa): Add 2 extra arguments, avoid using static
buffers.
(st_printf, st_sprintf): Adjust callers.
* io/write.c (otoa, btoa): Add 2 extra arguments, avoid using
static buffers.
(write_int, write_decimal): Add 2 extra arguments to conv
function pointer, adjust caller.
(write_integer): Adjust gfc_itoa caller.

* io/unit.c (get_array_unit_len): Return 0 rather than NULL.

* io/read.c (read_f): Remove spurious pointer dereference.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104855 138bc75d-0d04-0410-961f-82ee72b054a4
libgfortran/ChangeLog
libgfortran/io/read.c
libgfortran/io/unit.c
libgfortran/io/write.c
libgfortran/libgfortran.h
libgfortran/runtime/environ.c
libgfortran/runtime/error.c