Mail Archives: cygwin/1998/03/09/04:36:35
>To: gnu-win32 AT cygnus DOT com
>Subject: Re: BUG REPORT: patch
>From: David Fox <fox AT cat DOT nyu DOT edu>
>Date: 08 Mar 1998 23:24:59 -0500
>
>David Fox <fox AT cat DOT nyu DOT edu> writes:
>
>> Geoffroy Montel <g_montel AT yahoo DOT com> 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.
>
>-david
>-
>For help on using this list (especially unsubscribing), send a message
to
>"gnu-win32-request AT cygnus DOT 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
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".
- Raw text -