www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-apps/2000/11/20/18:20:47

Mailing-List: contact cygwin-apps-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-apps-owner AT sourceware DOT cygnus DOT com
List-Subscribe: <mailto:cygwin-apps-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-apps/>
List-Post: <mailto:cygwin-apps AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-apps-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/lists.html#faqs>
Delivered-To: mailing list cygwin-apps AT sources DOT redhat DOT com
Message-ID: <3A19B221.6C65A5CF@t-online.de>
Date: Tue, 21 Nov 2000 00:22:09 +0100
From: michael-ring AT t-online DOT de (Michael Ring)
X-Mailer: Mozilla 4.75 [de] (Windows NT 5.0; U)
X-Accept-Language: de
MIME-Version: 1.0
To: cygwin-apps AT cygwin DOT com
Subject: Re: New versions of bzip2 and patch?
References: <20001120164800 DOT C9396 AT redhat DOT com> <Pine DOT GSO DOT 4 DOT 20 DOT 0011201649120 DOT 24792-100000 AT frontal DOT ibb DOT gatech DOT edu> <20001120165655 DOT A10710 AT redhat DOT com> <3A19A94A DOT C6437BC9 AT t-online DOT de> <20001120175127 DOT D11124 AT redhat DOT com>
X-Sender: 320032306730-0001 AT t-dialin DOT net

I only removed a stupid (imho) usage of environment-variables from patch
which caused it to convert textfiles in binmounts to cr/lf files.
automode.o sounds as if it were useable for patch but right now I think
it should be kept as it is because it has prooven to work 'as is'.

Hmm... thinking about it agauin, what about this theory:

If I understand automode correctly a file on a textmount would be
converted to a 'unix'-style file internally and if saved in binmode
there would be no more cr/lf in the file; theory right ???

Cheers,

Michael

Christopher Faylor schrieb:
> 
> On Mon, Nov 20, 2000 at 11:44:26PM +0100, Michael Ring wrote:
> >Just found this thread here....
> >
> >O.K. you all found me busy with other work 8-(, sorry for that.
> >
> >patch is in very good condition, I have been sitting on thins patch
> >(well, actually been using it) for months and the changes I made to the
> >code are very straightforward. I will release this asap.
> 
> Btw, the new version of cygwin has some options that you can link with
> patch that I think might make things easier.  You can link with
> textmode.o, binmode.o, or automode.o.  textmode.o makes all opens which
> do not specify otherwise default to text mode regardless of mount,
> binmode.o makes all opens which do not specify otherwise default to
> binmode regardless of mount, automode.o makes opening for reading
> default to text and opening for writing default to binary.
> 
> In retrospect, I wish I'd named this 'mixedmode.o' because I rediscovered
> yesterday that 'auto mode' already has a meaning within the cygwin internals.
> It refers to /cygdrive type of mounts.
> 
> cgf

- Raw text -


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