VOOZH about

URL: https://cvsweb.openbsd.org/log/src/usr.bin/patch/ed.c,v

⇱ OpenBSD CVS Repository


👁 Image

CVS Repository/ src/ usr.bin/ patch/ ed.c


OpenBSD release(s):
1.4 (79 78 77 76 75 74 73 72 71 70 69 68 67),  1.3 (66 65 64 63 62 61),  1.2 (60 59), 
Tags:
None
revision 1.4/ (Download) - annotate - Mon, 02 Dec 2019 22:17:32 UTC by jca
OpenBSD release(s): 79 78 77 76 75 74 73 72 71 70 69 68 67
Changes since 1.3: +3 -3 (diff)
Use getline(3) to handle lines longer than 8192 bytes in patch files

Spotted by jsg@ when working on mesa. Diff tested by sthen@ in
a partial i386 bulk. Input from and ok jsg@ millert@

revision 1.3/ (Download) - annotate - Fri, 02 Sep 2016 21:39:51 UTC by tobias
OpenBSD release(s): 66 65 64 63 62 61
Changes since 1.2: +3 -2 (diff)
Fix 'c'hange command handling if last line of a file is removed.

If the last line of a file is removed, the line cache is erroneously
considered empty, which means that changed lines are added at the top.

spotted by and okay otto@

revision 1.2/ (Download) - annotate - Mon, 22 Feb 2016 19:31:38 UTC by tobias
OpenBSD release(s): 60 59
Changes since 1.1: +11 -18 (diff)
Properly handle ed-files which fully replace input file content. This
misbehaviour is triggered with 'c' and 'i' commands on empty buffers.

Spotted and fixed by Martin Natano <natano at natano dot net>.

ok millert@

revision 1.1/ (Download) - annotate - Fri, 16 Oct 2015 07:33:47 UTC by tobias
Add native support for ed-style diffs. No need to pledge "proc exec" anymore.

ok deraadt