[Bug libfortran/18985] opening unit 6 messes up print
Tobias dot Schlueter at physik dot uni-muenchen dot de
gcc-bugzilla@gcc.gnu.org
Wed Dec 15 12:31:00 GMT 2004
------- Additional Comments From Tobias dot Schlueter at physik dot uni-muenchen dot de 2004-12-15 12:30 -------
Subject: Re: opening unit 6 messes up print
Thomas dot Koenig at online dot de wrote:
> My thinking is that writing to * (or PRINTing)
> should go to standard output, and that unit 6
> just happens to be a convention for a preconnected
> unit that does the same thing.
I really don't think this is worth doing, as we have the evironment variable I
pointed you to. So if the user really does want to use unit 6 for some other
purposes than stdout, he is free to do so, and so the status quo doesn't
prevent anybody from doing anything.
I also think that it is a good thing that there's a way of redirecting *
output to a file: say, the user wants to do something like:
read *, print_to_file
if (print_to_file) then
open(6,file="stdout")
end if
Is this possible with ifort?
- Tobi
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18985
More information about the Gcc-bugs
mailing list