From: earnie_boyd AT hotmail DOT com (Earnie Boyd) Subject: Re: BUG REPORT: patch 9 Mar 1998 04:36:35 -0800 Message-ID: <19980309121402.5502.qmail.cygnus.gnu-win32@hotmail.com> Content-Type: text/plain To: fox AT cat DOT nyu DOT edu Cc: gnu-win32 AT cygnus DOT com >To: gnu-win32 AT cygnus DOT com >Subject: Re: BUG REPORT: patch >From: David Fox >Date: 08 Mar 1998 23:24:59 -0500 > >David Fox writes: > >> Geoffroy Montel 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".