Revert r325365
r325365 caused several ports to fail to patch correctly. Revert it for the time being until an exp-run can be completed. Requested by: antoine Approved by: emaste (implicit)
This commit is contained in:
parent
70bc7e51ca
commit
752e881db7
@ -1026,9 +1026,6 @@ patch_match(LINENUM base, LINENUM offset, LINENUM fuzz)
|
||||
const char *plineptr;
|
||||
unsigned short plinelen;
|
||||
|
||||
/* Patch does not match if we don't have anymore context to use */
|
||||
if (pline > pat_lines)
|
||||
return false;
|
||||
for (iline = base + offset + fuzz; pline <= pat_lines; pline++, iline++) {
|
||||
ilineptr = ifetch(iline, offset >= 0);
|
||||
if (ilineptr == NULL)
|
||||
|
Loading…
Reference in New Issue
Block a user