ftp.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2002/05/08/11:34:09

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-workers-bounces using -f
Date: Wed, 8 May 2002 08:33:38 -0700
To: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
Cc: Andris Pavenis <pavenis AT latnet DOT lv>,
Nick Clifton <nickc AT cambridge DOT redhat DOT com>, djgpp-workers AT delorie DOT com,
gcc-patches AT gcc DOT gnu DOT org
Subject: Re: RFA: Ignore DOS end-of-line characters (ctrl-Z) unless -W
Message-ID: <20020508153338.GE20829@codesourcery.com>
References: <Pine DOT LNX DOT 4 DOT 21 DOT 0205081655590 DOT 26648-100000 AT gulbis DOT latnet DOT lv> <Pine DOT SUN DOT 3 DOT 91 DOT 1020508170644 DOT 25387K-100000 AT is>
Mime-Version: 1.0
In-Reply-To: <Pine.SUN.3.91.1020508170644.25387K-100000@is>
User-Agent: Mutt/1.3.28i
From: Zack Weinberg <zack AT codesourcery DOT com>
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Wed, May 08, 2002 at 05:09:20PM +0300, Eli Zaretskii wrote:
> On Wed, 8 May 2002, Andris Pavenis wrote:
> > Original message (and patch) was due to a different reason: use of source
> > files originated from DOS under other systems (unfortunatelly read 
> > initial message not too carefully ...)
> For other systems, I guess a warning under -W is okay.

With or without truncating the input file?

Is ^Z to be honored wherever it appears, or only immediately after a
newline sequence?

> > It reads in binary mode.
> I hope only when the input comes from a file, not from a terminal.

It makes no distinction.  What goes wrong when one reads from a
terminal in binary mode under DOS?

(I'm not sure how to open a file in text mode using open(),


- Raw text -

  webmaster     delorie software   privacy  
  Copyright 2019   by DJ Delorie     Updated Jul 2019