Mail Archives: djgpp/1993/01/25/13:57:47
> 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
- Raw text -