OpenBSD CVS

CVS log for src/usr.bin/patch/ed.c


[BACK] Up to [local] / src / usr.bin / patch

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: OPENBSD_6_4


Revision 1.3 / (download) - annotate - [select for diffs], Fri Sep 2 21:39:51 2016 UTC (7 years, 9 months ago) by tobias
Branch: MAIN
CVS Tags: OPENBSD_6_6_BASE, OPENBSD_6_6, OPENBSD_6_5_BASE, OPENBSD_6_5, OPENBSD_6_4_BASE, OPENBSD_6_4, OPENBSD_6_3_BASE, OPENBSD_6_3, OPENBSD_6_2_BASE, OPENBSD_6_2, OPENBSD_6_1_BASE, OPENBSD_6_1
Changes since 1.2: +3 -2 lines
Diff to previous 1.2 (colored)

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@

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.