diff options
author | dje <dje@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-01-23 00:14:31 +0000 |
---|---|---|
committer | dje <dje@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-01-23 00:14:31 +0000 |
commit | ff81ee3b6e43e270bebd2400f3521f2d6da8cc59 (patch) | |
tree | 58334819ab2857c14b05d08b9782ac195c0413b5 /libgfortran/libgfortran.h | |
parent | 8e2779612f337c1cda856597cbed11d136a1209e (diff) | |
download | gcc-ff81ee3b6e43e270bebd2400f3521f2d6da8cc59.tar.gz |
PR libgfortran/19052
* libgfortran.h (options_t): Add stderr_unit.
* io/io.h (error_stream): Declare.
* io/open.c (new_unit): Do not terminate abnormally if opening
file preconnected to stdin, stdout, or stderr.
* io/unit.c (init_units): Initialize stderr_unit.
* io/unix.c (error_stream): New function.
* runtime/environ.c (GFORTRAN_STDERR_UNIT): New environment variable.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94090 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgfortran/libgfortran.h')
-rw-r--r-- | libgfortran/libgfortran.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libgfortran/libgfortran.h b/libgfortran/libgfortran.h index ccafb7c979b..dfa2e409f4b 100644 --- a/libgfortran/libgfortran.h +++ b/libgfortran/libgfortran.h @@ -292,7 +292,7 @@ enum typedef struct { - int stdin_unit, stdout_unit, optional_plus; + int stdin_unit, stdout_unit, stderr_unit, optional_plus; int allocate_init_flag, allocate_init_value; int locus; |