PR 65200 Handle EPERM in addition to EACCES.
[official-gcc.git] / libgfortran / ChangeLog
blob97ee01b59fca33b43d56d7cedfecb1d9f1babd74
1 2015-03-11  Janne Blomqvist  <jb@gcc.gnu.org>
3         PR libfortran/65200
4         * io/open.c (new_unit): Use gf_strerror rather than hardcoding
5         error messages for different errno values.
6         * io/unix.c (regular_file2): Handle EPERM in addition to EACCES.
8 2015-03-10  Alessandro Fanfarillo  <fanfarillo.gcc@gmail.com>
9             Tobias Burnus  <burnus@net-b.de>
11         * caf/libcaf.h (_gfortran_caf_sync_memory): New prototype.
12         * caf/single.c (_gfortran_caf_sync_memory): Implement.
13         (_gfortran_caf_sync_all, _gfortran_caf_sync_image): Add
14         __asm__ __volatile___ ("":::"memory").
16 2015-02-10 Jerry DeLisle  <jvdelisle@gcc.gnu.org>
18         PR libgfortran/57822
19         * io/write_float.def (output_float): Apply fix of previous patch
20         to correctly calculate the exponent number of digits and take
21         care of wide character output.
23 2015-02-09  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
25         PR libgfortran/57822
26         * io/write_float.def (output_float): If doing g0 editing and
27         exponent is zero, do not emit exponent.
29 2015-02-07  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
31         PR libgfortran/60956
32         * io/fbuf.c (fbuf_flush_list): New function that only flushes
33         if current fbuf position exceeds a limit.
34         * io/fbuf.h: Declare the new function.
35         * io/io.h (enum unit_mode): Add two new modes.
36         * io/list_read.c (list_formatted_read_scalar): Call new function.
37         * io/write.c: Include fbuf.h. (list_formatted_write_scalar):
38         Call new function.
40 2015-01-24  Janne Blomqvist  <jb@gcc.gnu.org>
42         PR libfortran/64770
43         * io/unit.c (filename_from_unit): Check that u->filename != NULL
44         before calling strdup.
46 2015-01-22  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
48         PR libgfortran/61933
49         * io/inquire.c (inquire_via_unit): Set existing to true for
50         any negative unit that is currently connected and any positive
51         units within range of KIND=4 value.  The unit value for any out
52         of range case that may occur if the user is using a KIND=8 will
53         have been set to -2 which is reserved and can never be opened,
54         and therefore the unit does not exist.
56 2015-01-14  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
58         PR libgfortran/61933
59         * io/inquire.c (inquire_via_unit): Set existing to true if a
60         gfc_unit stucture was found for the given unit number.
61         * runtime/error.c (translate_error): Add case for
62         LIBERROR_INQUIRE_INTERNAL_UNIT.
64 2015-01-05  Jakub Jelinek  <jakub@redhat.com>
66         Update copyright years.
68 2015-01-02  Tobias Burnus  <burnus@net-b.de>
70         * caf/single.c (_gfortran_caf_co_reduce): New function.
71         * caf/libcaf.h (_gfortran_caf_co_reduce): New prototype.
73 Copyright (C) 2015 Free Software Foundation, Inc.
75 Copying and distribution of this file, with or without modification,
76 are permitted in any medium without royalty provided the copyright
77 notice and this notice are preserved.