Up to [local] / src / usr.bin / mg
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: OPENBSD_3_4_BASE
Revision 1.26 / (download) - annotate - [select for diffs], Wed Apr 16 17:30:49 2003 UTC (21 years, 2 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_4_BASE,
OPENBSD_3_4
Changes since 1.25: +11 -8 lines
Diff to previous 1.25 (colored)
Fix a buffer overflow in complt_list(); it was allocating space based on nrow when it wanted ncol. Also make the space-padding more bulletproof and avoid trying to pad w/ 0 characters. Closed PR 3190; vincent@ OK