27 Mar
2003
27 Mar
'03
21:25
On Thursday 27 Mar 2003 19:55, John Weez wrote:
... i issued the command zcat packet-2.4.20-2.patch.gz | patch -p0 the patch program then says it can not find the file to be patched and asks me for a filename....
Try -p1 instead of -p0. That should work OK. FYI, most (>99% of the ones I've come across) patches use -p1. It's the accepted standard for patch creation. Actually, you could uncompress the patch and apply it in one operation by doing "bzip2 -dc packet-2.4.20-2.patch.bz2 | patch -p1" which makes bzip2 decompress (-d) to standard output (-c). Stephen