Up to [cvsweb.bsd.lv] / mandoc / regress / roff / shift
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: HEAD
Revision 1.2 / (download) - annotate - [select for diffs], Sun Apr 24 13:38:48 2022 UTC (3 years, 2 months ago) by schwarze
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +6 -2 lines
Diff to previous 1.1 (colored)
If a .shift request has a negative argument, do not use a negative array index but use 0 instead of the argument, just like groff. Warn about the invalid argument. While here, fix the column number in another warning message. Segfault reported by tb@, found with afl(1).