]> git.ipfire.org Git - thirdparty/gcc.git/blob - libgfortran/ChangeLog
PR 83704 Use size_t in write_character
[thirdparty/gcc.git] / libgfortran / ChangeLog
1 2018-01-06 Dominique d'Humieres <dominiq@lps.ens.fr>
2 Janne Blomqvist <jb@gcc.gnu.org>
3
4 PR fortran/83704
5 * io/write.c (write_character): Use size_t instead of int for
6 length.
7
8 2019-01-05 Janne Blomqvist <jb@gcc.gnu.org>
9
10 PR fortran/78534
11 * intrinsics/args.c (getarg_i4): Use gfc_charlen_type.
12 (get_command_argument_i4): Likewise.
13 (get_command_i4): Likewise.
14 * intrinsics/chmod.c (chmod_internal): Likewise.
15 * intrinsics/env.c (get_environment_variable_i4): Likewise.
16 * intrinsics/extends_type_of.c (struct vtype): Use size_t for size
17 member.
18 * intrinsics/gerror.c (gerror): Use gfc_charlen_type.
19 * intrinsics/getlog.c (getlog): Likewise.
20 * intrinsics/hostnm.c (hostnm_0): Likewise.
21 * intrinsics/string_intrinsics_inc.c (string_len_trim): Rework to
22 work if gfc_charlen_type is unsigned.
23 (string_scan): Likewise.
24 * io/transfer.c (transfer_character): Modify prototype.
25 (transfer_character_write): Likewise.
26 (transfer_character_wide): Likewise.
27 (transfer_character_wide_write): Likewise.
28 (transfer_array): Typecast to avoid signed-unsigned comparison.
29 * io/unit.c (is_trim_ok): Use gfc_charlen_type.
30 * io/write.c (namelist_write): Likewise.
31 * libgfortran.h (gfc_charlen_type): Change typedef to size_t.
32
33 2018-01-03 Jakub Jelinek <jakub@redhat.com>
34
35 Update copyright years.
36
37 2018-01-02 Janne Blomqvist <jb@gcc.gnu.org>
38
39 PR libgfortran/83649
40 * io/unix.c (MAX_CHUNK): New define.
41 (raw_read): For reads larger than MAX_CHUNK, loop.
42 (raw_write): Write no more than MAX_CHUNK bytes per iteration.
43 \f
44 Copyright (C) 2018 Free Software Foundation, Inc.
45
46 Copying and distribution of this file, with or without modification,
47 are permitted in any medium without royalty provided the copyright
48 notice and this notice are preserved.