PR 47432 Use ttyname_r() if available
[official-gcc.git] / libgfortran / ChangeLog
blobc096acfbb00c091a84fd2bb724f3bd6fed03aa4a
1 2011-01-27  Janne Blomqvist  <jb@gcc.gnu.org>
3         PR libfortran/47432
4         * config.h.in: Regenerated.
5         * configure: Regenerated.
6         * configure.ac: Add check for ttyname_r.
7         * io/unix.h: Add TTY_NAME_MAX, change stream_ttyname prototype.
8         * io/unix.c (stream_ttyname): Use ttyname_r if available, conform
9         to new prototype.
10         * io/inquire.c (inquire_via_unit): Use changed stream_ttyname.
11         * io/intrinsics.c (ttynam_sub): Likewise.
12         (ttynam): Likewise.
14 2011-01-27  Janne Blomqvist  <jb@gcc.gnu.org>
16         PR libfortran/47491
17         * configure.ac: Call AC_USE_SYSTEM_EXTENSIONS to enable common
18         extensions.
19         * config.h.in: Regenerate.
20         * configure: Regenerate.
22 2011-01-26  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
24         PR libgfortran/47285
25         * io/write_float.def (output_float): Return SUCCESS or FAILURE and use
26         the result to set the padding.
28 2011-01-26  Kai Tietz  <kai.tietz@onevision.com>
30         * intrinsics/getlog.c (getlog): Fix label/statement issue.
32 2011-01-25  Janne Blomqvist  <jb@gcc.gnu.org>
34         PR libfortran/47375
35         * config.h.in: Regenerated.
36         * configure: Regenerated.
37         * configure.ac: Add check for getpwuid_r.
38         * intrinsics/getlog.c (getlog): Use getpwuid_r() if available.
40 2011-01-22  Janne Blomqvist  <jb@gcc.gnu.org>
42         PR libfortran/46267
43         * config.h.in: Regenerated.
44         * configure: Regenerated.
45         * configure.ac: Check presence of strerror_r.
46         * intrinsics/gerror.c (gerror): Use gf_strerror, modify logic.
47         * io/unix.c (get_oserror): Remove.
48         * libgfortran.h (gf_strerror): Add prototype.
49         (get_oserror): Remove prototype.
50         * runtime/error.c (gf_strerror): New function.
51         (os_error): Use gf_strerror instead of get_oserror.
52         (generate_errror): Likewise.
54 2011-01-17  Janne Blomqvist  <jb@gcc.gnu.org>
56         PR libfortran/47296
57         * io/unix.c (tempfile): Set opp->file and opp->file_len also if an
58         error occurs.
60 2011-01-16  Jakub Jelinek  <jakub@redhat.com>
62         PR fortran/46625
63         * io/write_float.def (DTOAQ): Use quadmath_flt128tostr
64         instead of quadmath_dtoa.
65         * io/transfer128.c (tmp1, tmp2): New variables, bring in
66         strtoflt128 and quadmath_flt128tostr.
67         (transfer_real128, transfer_real128_write, transfer_complex128,
68         transfer_complex128_write): Remove tmp1/tmp2 variables.
69         * io/read.c (convert_real): Use strtoflt128 instead of
70         quadmath_strtopQ, adjust for the changed arguments and return
71         value.
73 2011-01-14  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
75         PR libgfortran/47296
76         * io/unix.c (unpack_filename): Return non-zero if the filename passed
77         in is NULL.
79 2011-01-04  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
81         PR libgfortran/47154
82         * io/list_read.c (namelist_read): Remove calls to hit_eof to avoid the
83         duplicate calls via next_record.
86 Copyright (C) 2011 Free Software Foundation, Inc.
88 Copying and distribution of this file, with or without modification,
89 are permitted in any medium without royalty provided the copyright
90 notice and this notice are preserved.