PR 46267 strerror thread safety
[official-gcc.git] / libgfortran / ChangeLog
blob6aa03e640eac5b0806d56d2062848db56fe5451a
1 2011-01-22  Janne Blomqvist  <jb@gcc.gnu.org>
3         PR libfortran/46267
4         * config.h.in: Regenerated.
5         * configure: Regenerated.
6         * configure.ac: Check presence of strerror_r.
7         * intrinsics/gerror.c (gerror): Use gf_strerror, modify logic.
8         * io/unix.c (get_oserror): Remove.
9         * libgfortran.h (gf_strerror): Add prototype.
10         (get_oserror): Remove prototype.
11         * runtime/error.c (gf_strerror): New function.
12         (os_error): Use gf_strerror instead of get_oserror.
13         (generate_errror): Likewise.
15 2011-01-17  Janne Blomqvist  <jb@gcc.gnu.org>
17         PR libfortran/47296
18         * io/unix.c (tempfile): Set opp->file and opp->file_len also if an
19         error occurs.
21 2011-01-16  Jakub Jelinek  <jakub@redhat.com>
23         PR fortran/46625
24         * io/write_float.def (DTOAQ): Use quadmath_flt128tostr
25         instead of quadmath_dtoa.
26         * io/transfer128.c (tmp1, tmp2): New variables, bring in
27         strtoflt128 and quadmath_flt128tostr.
28         (transfer_real128, transfer_real128_write, transfer_complex128,
29         transfer_complex128_write): Remove tmp1/tmp2 variables.
30         * io/read.c (convert_real): Use strtoflt128 instead of
31         quadmath_strtopQ, adjust for the changed arguments and return
32         value.
34 2011-01-14  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
36         PR libgfortran/47296
37         * io/unix.c (unpack_filename): Return non-zero if the filename passed
38         in is NULL.
40 2011-01-04  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
42         PR libgfortran/47154
43         * io/list_read.c (namelist_read): Remove calls to hit_eof to avoid the
44         duplicate calls via next_record.
47 Copyright (C) 2011 Free Software Foundation, Inc.
49 Copying and distribution of this file, with or without modification,
50 are permitted in any medium without royalty provided the copyright
51 notice and this notice are preserved.