X-Spam-Check-By: sourceware.org From: "Dave Korn" To: Subject: RE: Compile-time detection of EOL translation mode (CLISP) Date: Thu, 4 Jan 2007 17:55:04 -0000 Message-ID: <000701c73029$77e383e0$0708090a@CAM.ARTIMI.COM> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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/