Output lines on Windows are incorrectly terminated.
Example:
program le
   integer i

   do i = 1,6
      print *, 'Line ', i
   end do
end

The output looks ok on the windows console. However, if you redirect output to
a file, and examine with a hexadecimal viewer, you will see that each line is
terminated by CR/CR/LF, instead of CR/LF which would be correct for Windows.

This causes big problems for other programs that are going to read such files!


-- 
           Summary: Wrong line ends on windows (XP)
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: gay at sfu dot ca


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27964

Reply via email to