This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: Compile-time detection of EOL translation mode (CLISP)
- From: "Dave Korn" <dave dot korn at artimi dot com>
- To: <cygwin at cygwin dot com>
- Date: Thu, 4 Jan 2007 17:55:04 -0000
- Subject: RE: Compile-time detection of EOL translation mode (CLISP)
On 04 January 2007 17:17, Aaron Brown wrote:
> From within the C preprocessor, how do I find out whether a
> Cygwin installation is set to use dos or unix EOLs?
You don't. Whatever you're trying to do, this is the wrong way to go about
it.
For a start, the answer to the question "Is this in dos or unix mode" can
change from one directory to another.
What is the /end/ result you're trying to achieve here?
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/