aboutsummaryrefslogtreecommitdiff
path: root/libgfortran/libgfortran.h
diff options
context:
space:
mode:
authorDavid Edelsohn <edelsohn@gnu.org>2005-01-23 00:14:31 +0000
committerDavid Edelsohn <dje@gcc.gnu.org>2005-01-22 19:14:31 -0500
commitfbac336391e238f8e92714fce5431f69d4f2d338 (patch)
tree58334819ab2857c14b05d08b9782ac195c0413b5 /libgfortran/libgfortran.h
parenta059cdb8632f1a0a64d0ae2b4ada084ab69cac5e (diff)
downloadgcc-fbac336391e238f8e92714fce5431f69d4f2d338.zip
gcc-fbac336391e238f8e92714fce5431f69d4f2d338.tar.gz
gcc-fbac336391e238f8e92714fce5431f69d4f2d338.tar.bz2
re PR libfortran/19052 (unit 0 not preconnected to standard error)
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. From-SVN: r94090
Diffstat (limited to 'libgfortran/libgfortran.h')
-rw-r--r--libgfortran/libgfortran.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgfortran/libgfortran.h b/libgfortran/libgfortran.h
index ccafb7c..dfa2e40 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;