From: Eric Backus Subject: Re: 'Patch' program problem To: kunst AT prl DOT philips DOT nl (Pieter Kunst) (Pieter Kunst) Date: Mon, 25 Jan 93 10:14:37 PST Cc: djgpp AT sun DOT soe DOT clarkson DOT edu Mailer: Elm [revision: 66.25] > I have a problem with the 'patch' program supplied with DJGPP (1.09). > When a patch has been applied, the 'patch' program' is unable > to save the patched result file. > (patch: can't backup curses/curses.h, output is in c:/tmp/patchob00072) > > Any help is appreciated. I ported patch 2.0.12g8 from FSF when I did the rest of the FSF utilities. I don't recall encountering the problems you describe, but I don't recall if I've done EXACTLY what you did, so I can't give any guarantee. You can ftp this copy of patch from twok.ods.com, in directory ~ftp/pub/gnu-dos, in file miscfsf.zoo (during non-business hours, please). You'll find a bunch of other FSF binaries in there as well. However, I'm sure there must be a way to make your copy of patch work. Usually when I use patch, the contect diff file doesn't specify a path to the file I'm patching. Perhaps the path is confusing your patch program. You could try editing the contect diff file to remove the "curses.old/" and "curses/" from the first two lines, and see if patch works better in this case. -- Eric Backus ericb AT lsid DOT hp DOT com (206) 335-2495