This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libfortran/20092] console input doesn't deal correctly with CR
- From: "tobi at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 13 Mar 2005 18:56:42 -0000
- Subject: [Bug libfortran/20092] console input doesn't deal correctly with CR
- References: <20050219204440.20092.dir@lanl.gov>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From tobi at gcc dot gnu dot org 2005-03-13 18:56 -------
The problem is that carriage return is not dealt with correctly. See the
following session, where 80 is replaced by 10 in the testcase:
[tobi@marktplatz tests]$ ./a.out
12345678901234567890 <- input
1234567890 <- output
1 <- input
2
3
4
5
6
7
8
9
0 <- till here
1234567890 <- output
s123456789 <- input
s123456789 <- output
STOP 0
--
What |Removed |Added
----------------------------------------------------------------------------
Summary|gfortran not correctly |console input doesn't deal
|padding keyboard or text |correctly with CR
|file input |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20092