PR libgfortran/19052
commitff81ee3b6e43e270bebd2400f3521f2d6da8cc59
authordje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 23 Jan 2005 00:14:31 +0000 (23 00:14 +0000)
committerdje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 23 Jan 2005 00:14:31 +0000 (23 00:14 +0000)
tree58334819ab2857c14b05d08b9782ac195c0413b5
parent8e2779612f337c1cda856597cbed11d136a1209e
    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
libgfortran/ChangeLog
libgfortran/io/io.h
libgfortran/io/open.c
libgfortran/io/unit.c
libgfortran/io/unix.c
libgfortran/libgfortran.h
libgfortran/runtime/environ.c