OSDN Git Service

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