This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: BUG REPORT: patch




>To: gnu-win32@cygnus.com
>Subject: Re: BUG REPORT: patch
>From: David Fox <fox@cat.nyu.edu>
>Date: 08 Mar 1998 23:24:59 -0500
>
>David Fox <fox@cat.nyu.edu> writes:
>
>> Geoffroy Montel <g_montel@yahoo.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@cygnus.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@cygnus.com" with one line of text: "help".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]