This is the mail archive of the
mailing list for the Cygwin project.
Re: BUG REPORT: patch
- To: fox at cat dot nyu dot edu
- Subject: Re: BUG REPORT: patch
- From: "Earnie Boyd" <earnie_boyd at hotmail dot com>
- Date: Mon, 09 Mar 1998 04:14:01 PST
- Cc: gnu-win32 at cygnus dot com
>Subject: Re: BUG REPORT: patch
>From: David Fox <firstname.lastname@example.org>
>Date: 08 Mar 1998 23:24:59 -0500
>David Fox <email@example.com> writes:
>> Geoffroy Montel <firstname.lastname@example.org> writes:
>> > There's a slight bug in the patch command: the files processed by
>> > "patch" then have the DOS format.... a bit annoying isn't it?
>> "sed" does the same thing.
>I know that files, and specifically the output file, is opened in text
>mode by default, but this is a problem for me if the input file
>happened to be a unix style text file. I also know that there is a
>"registry" variable you can set to control this behavior, but I'm not
>very familiar with Windows terminology - is a registry variable a
>value that can be adjusted on a per-process basis, like an environment
>variable? It doesn't sound like it is, it sounds more like an X
>windows resource. I could live with an environment variable.
The environment variable is CYGWIN32 the value to add to the list of
values is binmode for "binary" default open mode and nobinmode for
"text" default open mode. Note this was added to b19.
>For help on using this list (especially unsubscribing), send a message
>"email@example.com" with one line of text: "help".
Get Your Private, Free Email at http://www.hotmail.com
For help on using this list (especially unsubscribing), send a message to
"firstname.lastname@example.org" with one line of text: "help".