Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: <3BA0CE44.9080007@ece.gatech.edu> Date: Thu, 13 Sep 2001 11:18:28 -0400 From: Charles Wilson User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.2) Gecko/20010713 X-Accept-Language: en-us MIME-Version: 1.0 To: Corinna Vinschen Subject: Re: Mutt (on cygwin) and binary attachments References: <20010913093731 DOT E432 AT NBOF> <20010913131552 DOT R1285 AT cygbert DOT vinschen DOT de> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Corinna Vinschen wrote: > On Thu, Sep 13, 2001 at 09:37:31AM +0000, Olaf Foellinger wrote: > >>Hi, >> >>here's a mail I've received that give hints about the attachment >>corruption of mutt. >> > > Thanks for that hint. I have created a -3 version which returns > to the original binmode behaviour. (disclaimer: I don't use mutt) Ya, but linking with binmode.o doesn't solve the other problem -- that of config files with DOS line endings. It looks to me as if you just can't use the 'binmode.o/automode.o' magic bullets. It seems that the real fix is to go thru the code, and put O_BINARY or 'rb' in the correct places, and O_TEXT(?) or 'rt' in the correct places. Yes? --Chuck -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/