From: kunst AT prl DOT philips DOT nl (Pieter Kunst) Subject: Re: 'Patch' program problem To: ericb AT lsid DOT hp DOT com (Eric Backus) Date: Mon, 25 Jan 93 20:05:37 MET Cc: djgpp AT sun DOT soe DOT clarkson DOT edu (DJGPP users list) Mailer: Elm [revision: 70.30] Eric Backus writes: > 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. (Hmmm, patching the patch file :-) Indeed this works ! Thanks. Perhaps we could replace the DJGPP 'patch' program with your version in next releases of DJGPP, because the use of path names for patches seems to be a necessary option in some cases. -- Pieter Kunst (kunst AT prl DOT philips DOT nl)