This is the mail archive of the gcc-bugs@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]

[Bug fortran/32646] INQUIRE (by UNIT) for (un)formatted always returns YES...



------- Comment #2 from jvdelisle at gcc dot gnu dot org  2007-07-07 06:22 -------
We have addressed this in previous bug reports.  Any unit "can be" accessed as
formatted or unformatted if one chooses to do so, this is why we answer yes. 
In other words, it is "allowed"

This should not be confused with actually opening a file or unit as
(un)formatted.  In that case the choice has been made.  Once that choice has
been made the specific inquire is irrelevant.  There could be a unit that is
related to a device that would not allow one of these forms.  For example, one
that is limited to 128 characters, could not very well be used for unformatted.
(such as a teletype machine.)


-- 

jvdelisle at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32646


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