Module Name: src Committed By: cjep Date: Tue May 25 11:25:59 UTC 2021
Modified Files: src/usr.bin/patch: common.h inp.c patch.c pch.c util.c Log Message: As per OpenBSD, use malloc for the line buffer. Fixes the known issue with long lines and makes our ATF test suite pass fully. Closes PR bin/54620 from coypu who suggested the approach. Reviewed by christos. To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22 src/usr.bin/patch/common.h cvs rdiff -u -r1.26 -r1.27 src/usr.bin/patch/inp.c cvs rdiff -u -r1.31 -r1.32 src/usr.bin/patch/patch.c src/usr.bin/patch/pch.c cvs rdiff -u -r1.29 -r1.30 src/usr.bin/patch/util.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.