This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: TEXT mode, BINARY mode default file opening


> -----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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]