* io/open.c (edit_modes): Correct abusive copy-pasting.
From-SVN: r111266
This commit is contained in:
parent
69b61bb160
commit
c05f6d04cb
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
2006-02-19 Francois-Xavier Coudert <coudert@clipper.ens.fr>
|
||||
|
||||
* io/open.c (edit_modes): Correct abusive copy-pasting.
|
||||
|
||||
2006-02-16 Francois-Xavier Coudert <coudert@clipper.ens.fr>
|
||||
|
||||
PR libfortran/24903
|
||||
|
|
|
@ -146,7 +146,7 @@ edit_modes (st_parameter_open *opp, gfc_unit * u, unit_flags * flags)
|
|||
generate_error (&opp->common, ERROR_BAD_OPTION,
|
||||
"Cannot change RECL parameter in OPEN statement");
|
||||
|
||||
if (flags->action != ACTION_UNSPECIFIED && u->flags.access != flags->access)
|
||||
if (flags->action != ACTION_UNSPECIFIED && u->flags.action != flags->action)
|
||||
generate_error (&opp->common, ERROR_BAD_OPTION,
|
||||
"Cannot change ACTION parameter in OPEN statement");
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue