This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libfortran/20788] Loading libgfortran.so clobbers C redirection of stdin
- From: "fxcoudert at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 10 Apr 2005 10:38:36 -0000
- Subject: [Bug libfortran/20788] Loading libgfortran.so clobbers C redirection of stdin
- References: <20050406122445.20788.ripley@stats.ox.ac.uk>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From fxcoudert at gcc dot gnu dot org 2005-04-10 10:38 -------
For your problem, an easy solution is to use static linking, which seems to
avoid that issue (that is, you program works as expected without having to set
GFORTRAN_STDIN_UNIT).
Otherwise, I commited a patch to fix the issue with negative GFORTRAN_*_UNIT
being ignored (on mainline only).
--
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed|2005-04-10 10:20:45 |2005-04-10 10:38:34
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20788