This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]