Re: 1.2beta19 with patches

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Sat, 25 Apr 1998 11:50:47 +0200

Christian Krackowizer wrote:

> that's the problem. I don't know why but peer_digest.c was place
> in the root ...

You forgot to use the -p option when patching. You should always use
patch -p<n> when applying a patch

-p<n> tells patch how many steps of the file path it should ignore, and
that the file paths is "absolute". Without -p is uses a search algorithm
that very often gets it wrong...

use -p1 on patches looking like this
*** squid-1.2.beta19/ChangeLog Wed Apr 8 00:24:27 1998
--- squid-1.2.beta20/ChangeLog Tue Apr 21 13:49:29 1998
and -p0 if it looks like
*** ChangeLog.orig Wed Apr 8 00:24:27 1998
--- ChangeLog Tue Apr 21 13:49:29 1998

---
Henrik Nordström
Sparetime Squid Hacker
Received on Sat Apr 25 1998 - 05:03:36 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:39:57 MST