[patch, libgfortran] Fix PR59108 ACTION='READ' is using O_CREAT

Tobias Burnus burnus@net-b.de
Sat Nov 16 07:35:00 GMT 2013


Jerry DeLisle wrote:
> The attached patch sets the create flag for the case where action is specified
> as read only.

> Regression tested on x86-64 Linux.
> OK for trunk?

OK. Thanks for the patch!

Tobias

> 2013-11-15  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
>
> 	PR fortran/59108
> 	* io/unix.c (regular_file): If the ACTION is read only set
> 	create flag to zero.
>



More information about the Fortran mailing list