OSDN Git Service

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