Re: How to apply Patch

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Wed, 17 Mar 1999 23:57:48 +0100

Lubna Sorour wrote:
>
> I'm using squid 2.1 and I got the patch for it but I dont know how to
> apply it.

Patches are applied using the GNU patch program.

Usually
 cd squid-2.1.PATCH1
 patch -p1 <patchfile
 (or -p0 on some patch files)

Guide on how to select the -pN argument to GNU patch:
If the paths in the patch file says squid-2.1.PATCH2/src/... then use
-p1. If it says src/... then use -p0.

---
Henrik Nordstrom
Spare time Squid hacker
Received on Wed Mar 17 1999 - 16:31:23 MST

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