delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/04/28/22:17:24

From: earnie_boyd AT yahoo DOT com (Earnie Boyd)
Subject: Re: Patching under cygwin32 and W95
28 Apr 1998 22:17:24 -0700 :
Sender: root AT cygnus DOT com
Message-ID: <19980428131131.11747.rocketmail.cygnus.gnu-win32@send1c.yahoomail.com>
Reply-To: earnie_boyd AT yahoo DOT com
To: David Bush <david DOT bush AT adn DOT alcatel DOT com>, xemacs-nt AT xemacs DOT org
Cc: gnu-win32 AT cygnus DOT com
MIME-Version: 1.0

Hi David,

Are you positive that you are using the patch binary from the CDK? 
While in bash if you do "type patch" what is the result?

I have been built the patch binary with mingw32.  I saw this error as
a direct result of link/unlink of temporary to existing files.  I
modified the code so that it uses Win32 calls to take care of the
rename/copy.  

If you wish to try my version of patch I can strip and gzip the
executable and attach it to an email.  I have been successful in using
it; at least with context diffs.

---David Bush <david DOT bush AT adn DOT alcatel DOT com> wrote:
>
> I apologize if this question has come up before.  The gnuwin32 mail
archives
> are not much use on this one because a search for "patch" returns
most of
> the archive.
> 
> I'm trying to apply a large patch for Xemacs to the source tree. 
The patch
> application fails on the first file in the patch with a message like:
> cannot rename /tmp/ps001020 to CHANGES-beta: File exists.
> 
> Is this a know problem and is there a workaround?
> 
> TIA,
> 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".
> 

==
-        \\||//
---o0O0--Earnie--0O0o----
--earnie_boyd AT yahoo DOT com--
------ooo0O--O0ooo-------



_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.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 -


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