TEXT mode, BINARY mode default file opening

Dave Korn dave.korn@artimi.com
Mon Jan 24 18:52:00 GMT 2005


> -----Original Message-----
> From: cygwin-owner On Behalf Of Gerrit P. Haase
> Sent: 24 January 2005 11:54

> I never have any problems with any files, regardless which mode these
> files are.  GCC doesn't care if you use \r\n or \n as line ending.

  It does in at least one circumstance.  If you want to have a continued line,
by placing a backslash as the last character on the line, you *must* follow that
with a LF, not a CR, because the pre-processer understands an escaped LF as a
continuation, but has no idea what to do with a CR.


    cheers, 
      DaveK
-- 
Can't think of a witty .sigline today....


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list