public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug libfortran/19052] New: unit 0 not preconnected to standard error @ 2004-12-17 9:05 Thomas dot Koenig at online dot de 2004-12-17 9:05 ` [Bug libfortran/19052] " Thomas dot Koenig at online dot de ` (5 more replies) 0 siblings, 6 replies; 7+ messages in thread From: Thomas dot Koenig at online dot de @ 2004-12-17 9:05 UTC (permalink / raw) To: gcc-bugs This is different from g77 (and to all Unix fortran compilers that I know of). $ cat unit_0.f write (0,*) "hello" end $ rm -f fort.0 $ gfortran unit_0.f $ ./a.out $ cat fort.0 hello $ rm -f fort.0 $ g77 unit_0.f $ ./a.out hello $ cat fort.0 cat: fort.0: No such file or directory -- Summary: unit 0 not preconnected to standard error Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P2 Component: libfortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: Thomas dot Koenig at online dot de CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19052 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug libfortran/19052] unit 0 not preconnected to standard error 2004-12-17 9:05 [Bug libfortran/19052] New: unit 0 not preconnected to standard error Thomas dot Koenig at online dot de @ 2004-12-17 9:05 ` Thomas dot Koenig at online dot de 2004-12-17 12:40 ` pinskia at gcc dot gnu dot org ` (4 subsequent siblings) 5 siblings, 0 replies; 7+ messages in thread From: Thomas dot Koenig at online dot de @ 2004-12-17 9:05 UTC (permalink / raw) To: gcc-bugs -- What |Removed |Added ---------------------------------------------------------------------------- Version|unknown |4.0.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19052 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug libfortran/19052] unit 0 not preconnected to standard error 2004-12-17 9:05 [Bug libfortran/19052] New: unit 0 not preconnected to standard error Thomas dot Koenig at online dot de 2004-12-17 9:05 ` [Bug libfortran/19052] " Thomas dot Koenig at online dot de @ 2004-12-17 12:40 ` pinskia at gcc dot gnu dot org 2005-01-06 14:43 ` tobi at gcc dot gnu dot org ` (3 subsequent siblings) 5 siblings, 0 replies; 7+ messages in thread From: pinskia at gcc dot gnu dot org @ 2004-12-17 12:40 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From pinskia at gcc dot gnu dot org 2004-12-17 12:40 ------- Confirmed. -- What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed| |1 Last reconfirmed|0000-00-00 00:00:00 |2004-12-17 12:40:46 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19052 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug libfortran/19052] unit 0 not preconnected to standard error 2004-12-17 9:05 [Bug libfortran/19052] New: unit 0 not preconnected to standard error Thomas dot Koenig at online dot de 2004-12-17 9:05 ` [Bug libfortran/19052] " Thomas dot Koenig at online dot de 2004-12-17 12:40 ` pinskia at gcc dot gnu dot org @ 2005-01-06 14:43 ` tobi at gcc dot gnu dot org 2005-01-23 0:16 ` cvs-commit at gcc dot gnu dot org ` (2 subsequent siblings) 5 siblings, 0 replies; 7+ messages in thread From: tobi at gcc dot gnu dot org @ 2005-01-06 14:43 UTC (permalink / raw) To: gcc-bugs -- What |Removed |Added ---------------------------------------------------------------------------- OtherBugsDependingO| |19292 nThis| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19052 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug libfortran/19052] unit 0 not preconnected to standard error 2004-12-17 9:05 [Bug libfortran/19052] New: unit 0 not preconnected to standard error Thomas dot Koenig at online dot de ` (2 preceding siblings ...) 2005-01-06 14:43 ` tobi at gcc dot gnu dot org @ 2005-01-23 0:16 ` cvs-commit at gcc dot gnu dot org 2005-01-23 0:24 ` dje at gcc dot gnu dot org 2005-01-23 0:26 ` dje at gcc dot gnu dot org 5 siblings, 0 replies; 7+ messages in thread From: cvs-commit at gcc dot gnu dot org @ 2005-01-23 0:16 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-01-23 00:15 ------- Subject: Bug 19052 CVSROOT: /cvs/gcc Module name: gcc Changes by: dje@gcc.gnu.org 2005-01-23 00:14:32 Modified files: libgfortran : ChangeLog libgfortran.h libgfortran/io : io.h open.c unit.c unix.c libgfortran/runtime: environ.c Log message: 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. Patches: http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/ChangeLog.diff?cvsroot=gcc&r1=1.150&r2=1.151 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/libgfortran.h.diff?cvsroot=gcc&r1=1.21&r2=1.22 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/io/io.h.diff?cvsroot=gcc&r1=1.15&r2=1.16 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/io/open.c.diff?cvsroot=gcc&r1=1.9&r2=1.10 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/io/unit.c.diff?cvsroot=gcc&r1=1.7&r2=1.8 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/io/unix.c.diff?cvsroot=gcc&r1=1.20&r2=1.21 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/runtime/environ.c.diff?cvsroot=gcc&r1=1.6&r2=1.7 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19052 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug libfortran/19052] unit 0 not preconnected to standard error 2004-12-17 9:05 [Bug libfortran/19052] New: unit 0 not preconnected to standard error Thomas dot Koenig at online dot de ` (3 preceding siblings ...) 2005-01-23 0:16 ` cvs-commit at gcc dot gnu dot org @ 2005-01-23 0:24 ` dje at gcc dot gnu dot org 2005-01-23 0:26 ` dje at gcc dot gnu dot org 5 siblings, 0 replies; 7+ messages in thread From: dje at gcc dot gnu dot org @ 2005-01-23 0:24 UTC (permalink / raw) To: gcc-bugs -- What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|unassigned at gcc dot gnu |dje at gcc dot gnu dot org |dot org | Status|NEW |ASSIGNED Last reconfirmed|2004-12-17 12:40:46 |2005-01-23 00:24:07 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19052 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug libfortran/19052] unit 0 not preconnected to standard error 2004-12-17 9:05 [Bug libfortran/19052] New: unit 0 not preconnected to standard error Thomas dot Koenig at online dot de ` (4 preceding siblings ...) 2005-01-23 0:24 ` dje at gcc dot gnu dot org @ 2005-01-23 0:26 ` dje at gcc dot gnu dot org 5 siblings, 0 replies; 7+ messages in thread From: dje at gcc dot gnu dot org @ 2005-01-23 0:26 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From dje at gcc dot gnu dot org 2005-01-23 00:24 ------- Patch committed. -- What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED Target Milestone|--- |4.0.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19052 ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2005-01-23 0:24 UTC | newest] Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2004-12-17 9:05 [Bug libfortran/19052] New: unit 0 not preconnected to standard error Thomas dot Koenig at online dot de 2004-12-17 9:05 ` [Bug libfortran/19052] " Thomas dot Koenig at online dot de 2004-12-17 12:40 ` pinskia at gcc dot gnu dot org 2005-01-06 14:43 ` tobi at gcc dot gnu dot org 2005-01-23 0:16 ` cvs-commit at gcc dot gnu dot org 2005-01-23 0:24 ` dje at gcc dot gnu dot org 2005-01-23 0:26 ` dje at gcc dot gnu dot org
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).