re PR libfortran/66936 (io/unix.c gratuitously uses S_IRWXG and S_IRWXO on the basis that umask() is available)

PR libfortran/66936
	* io/unix.c (__MINGW32__): Undefine HAVE_UMASK.

From-SVN: r226750
This commit is contained in:
Francois-Xavier Coudert 2015-08-09 16:43:42 +00:00 committed by François-Xavier Coudert
parent dc04bc8431
commit 18a2180daa
2 changed files with 11 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2015-08-09 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
PR libfortran/66936
* io/unix.c (__MINGW32__): Undefine HAVE_UMASK.
2015-08-07 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
PR libfortran/66458

View File

@ -101,6 +101,12 @@ id_from_fd (const int fd)
}
#endif /* HAVE_WORKING_STAT */
/* On mingw, we don't use umask in tempfile_open(), because it
doesn't support the user/group/other-based permissions. */
#undef HAVE_UMASK
#endif /* __MINGW32__ */