This is the mail archive of the
mailing list for the Cygwin project.
REWIND on stdin in g77 3.3.1
- From: pmunger dot hmr at ssss dot gouv dot qc dot ca
- To: cygwin at cygwin dot com
- Date: Thu, 13 Nov 2003 15:15:18 -0500
- Subject: REWIND on stdin in g77 3.3.1
After upgrading to g77 3.3.1 from g77 3.2, some of the code I was running
sucessfully before was not running anymore on a windows 2000 workstation.
After investigation, I found that the problem seemed to be when performing
REWINDs on stdin (unit 5).
To illustrate this, I created a simple fortran program test.f:
I also created an input file, test.inp:
When compiling with g77 3.3.1, and running with "test.exe < test.inp" from
a cmd window the output is:
With g77 3.2, the output is what one should expect:
It seems that the REWIND statement has no effect in the 3.3.1 version. I
tried the same with the two versions of g77 on linux and both give the
I would appreciate if someone could give me some insight on what is going
on here ...
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html