aboutsummaryrefslogtreecommitdiff
path: root/libcpp/include/cpplib.h
diff options
context:
space:
mode:
authorJanne Blomqvist <jb@gcc.gnu.org>2013-11-16 00:00:36 +0200
committerJanne Blomqvist <jb@gcc.gnu.org>2013-11-16 00:00:36 +0200
commit35f48a901dacbff644f8573553d2b1ca6d1b609c (patch)
tree285137952297d3a8123cac1f2509532a3cb644d6 /libcpp/include/cpplib.h
parentc02065fca15d60c9d34ca18b5718a145c4571db7 (diff)
downloadgcc-35f48a901dacbff644f8573553d2b1ca6d1b609c.zip
gcc-35f48a901dacbff644f8573553d2b1ca6d1b609c.tar.gz
gcc-35f48a901dacbff644f8573553d2b1ca6d1b609c.tar.bz2
When file status is unknown, don't set O_CREAT when opening read-only.
2013-11-15 Janne Blomqvist <jb@gcc.gnu.org> Jerry DeLisle <jvdelisle@gcc.gnu.org> PR fortran/59108 * io/unix.c (regular_file): Don't set O_CREAT when opening a file read-only with unknown status. Mask out O_CREAT when falling back to opening read-only if ACTION= is not set and read-write fails. Co-Authored-By: Jerry DeLisle <jvdelisle@gcc.gnu.org> From-SVN: r204864
Diffstat (limited to 'libcpp/include/cpplib.h')
0 files changed, 0 insertions, 0 deletions