Is there a working patch for 5.19 ?

I tried it on drupal 5.19 and got this error

can't find file to patch at input line 8
Perhaps you should have used the -p or --strip option?
The text leading up to this was:
--------------------------
|Index: includes/path.inc
|===================================================================
|RCS file: /cvs/drupal/drupal/includes/path.inc,v
|retrieving revision 1.13
|diff -u -p -r1.13 path.inc
|--- includes/path.inc  23 Dec 2006 22:04:52 -0000      1.13
|+++ includes/path.inc  6 Nov 2009 02:22:20 -0000
--------------------------
File to patch: 
Skip this patch? [y] 

if i try to manually edit path.inc i get this error for whatever the very last line of path.inc is

 Parse error: syntax error, unexpected $end 

Any help is appreciated :)

Comments

p4guru’s picture

Title: Path for drupal 5.19 ? » Patch for drupal 5.19 ?

whoops never mind forgot the -p0 flag when patching

used

patch < sites/all/modules/pathcache/path.inc.patch

instead of correct method

patch -p0 < sites/all/modules/pathcache/path.inc.patch

gbaudoin’s picture

Status: Active » Closed (works as designed)