Date: Wed, 8 Nov 2017 23:11:15 +0000 (UTC) From: Kyle Evans <kevans@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r325564 - head/usr.bin/patch Message-ID: <201711082311.vA8NBF7E027169@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kevans Date: Wed Nov 8 23:11:15 2017 New Revision: 325564 URL: https://svnweb.freebsd.org/changeset/base/325564 Log: 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) Modified: head/usr.bin/patch/patch.c Modified: head/usr.bin/patch/patch.c ============================================================================== --- head/usr.bin/patch/patch.c Wed Nov 8 21:24:06 2017 (r325563) +++ head/usr.bin/patch/patch.c Wed Nov 8 23:11:15 2017 (r325564) @@ -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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201711082311.vA8NBF7E027169>