]> git.ipfire.org Git - thirdparty/gcc.git/commit - libgfortran/configure
PR 51646 Use POSIX mode flags in open() argument.
authorJanne Blomqvist <jb@gcc.gnu.org>
Thu, 22 Dec 2011 20:44:32 +0000 (22:44 +0200)
committerJanne Blomqvist <jb@gcc.gnu.org>
Thu, 22 Dec 2011 20:44:32 +0000 (22:44 +0200)
commit42dfafa935db4f6f368499108307676dbf1317cc
treeb51c2b0e0174c8fedc4a4c39e1f7692f16814598
parentbbe847a162d99872542c9574301b2bfc19c6b365
PR 51646 Use POSIX mode flags in open() argument.

2011-12-22  Janne Blomqvist  <jb@gcc.gnu.org>
Tobias Burnus  <burnus@net-b.de>

PR libfortran/51646
* acinclude.m4 (LIBGFOR_CHECK_UNLINK_OPEN_FILE): Use POSIX mode
flags, omit mode argument when flags argument does not have
O_CREAT.
* io/unix.c (tempfile): Use POSIX mode flags.
* configure: Regenerate.

Co-Authored-By: Tobias Burnus <burnus@net-b.de>
From-SVN: r182638
libgfortran/ChangeLog
libgfortran/acinclude.m4
libgfortran/configure
libgfortran/io/unix.c