[patch, libgfortran] PR47694 [4.3/4.4/4.5/4.6 Regression] Fortran read from named pipe fails

Tobias Burnus burnus@net-b.de
Sun Feb 20 07:44:00 GMT 2011


Jerry DeLisle wrote:
> On 02/19/2011 11:19 AM, Tobias Burnus wrote:
>> (I do not care about "\r" as end of line marker as it effectively 
>> plays no role
>> [1].)
>> [1] http://en.wikipedia.org/wiki/Newline#Representations
>>
> Doesn't Mac use just \r by itself?

Yes, but only until Mac OS 9; since Mac OS X (Darwin) it uses \n as *BSD 
does. My impression is that those systems supporting \r do not play a 
role, cf. [1].

Thus, I do not mind if besides \r\n and \n also \r is supported, but I 
do not see any need for it. And to my knowledge so far \r did not work.

(A colleague of mine actually had once a problem with a Fortran program 
from some collaborator; I forgot either the Fortran file or some input 
file used \r and either of it did not work with gfortran.)

Tobias



More information about the Fortran mailing list