RE: [PECL-DEV] APC TTL Patch
| From: | Shannon Werb | Date: | Tue, 10 Aug 2004 01:46:36 +0000 |
| Subject: | RE: [PECL-DEV] APC TTL Patch | ||
| References: | 1 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-1099@lists.php.net to get a copy of this message | ||
>
> On Mon, 9 Aug 2004, Shannon Werb wrote:
> > Makes sense and would agree. I don't use patch too often,
> normally on
> > one file at a time, will patch take the entire contents of
> the email
> > and apply them to the source tree if I tell it to without having to
> > separate each patch and run them manually on each source file?
>
> Yup, you should be able to just patch < filename from your
> apc source directory.
My output from running patch:
batt1# patch < patch.ttl
Hmm... Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|Index: INSTALL
|===================================================================
|RCS file: /repository/pecl/apc/INSTALL,v retrieving revision 3.34 diff -u
-r3.34 INSTALL
|--- INSTALL 28 Jun 2004 08:54:15 -0000 3.34
|+++ INSTALL 6 Aug 2004 21:07:17 -0000
--------------------------
Patching file INSTALL using Plan A...
Hunk #1 succeeded at 222.
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|Index: apc_cache.c
|===================================================================
|RCS file: /repository/pecl/apc/apc_cache.c,v
|retrieving revision 3.55
|diff -u -r3.55 apc_cache.c
|--- apc_cache.c 29 Mar 2004 17:18:11 -0000 3.55
|+++ apc_cache.c 6 Aug 2004 21:07:17 -0000
--------------------------
Patching file apc_cache.c using Plan A...
Hunk #1 succeeded at 20.
Hunk #2 succeeded at 43.
Hunk #3 succeeded at 64.
patch: **** malformed patch at line 78: @@ -180,7 +195,7 @@
>
> -Rasmus
>
Your source must be different than mine? Maybe I should wait until you
release it to CVS then I can work on the GUI.
Regards,
Shannon