This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: TEXT mode, BINARY mode default file opening
- From: "Dave Korn" <dave dot korn at artimi dot com>
- To: <cygwin at cygwin dot com>
- Date: Mon, 24 Jan 2005 18:39:17 -0000
- Subject: 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/