Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: [netbsd-4] src/usr.bin/column
Module Name: src
Committed By: bouyer
Date: Sun Feb 24 13:10:39 UTC 2008
Modified Files:
src/usr.bin/column [netbsd-4]: column.c
Log Message:
Pull up following revision(s) (requested by oster in ticket #1089):
usr.bin/column/column.c: revision 1.18
maxcols and DEFCOLS are column counts, not "how much space to
allocate" values. Thus, if we multiply DEFCOLSL by sizeof(char *) we
should do likewise for maxcols (and not just add maxcols to the "how
much space to allocate" parameter!!)
Fixes the 'jot 33 1 > J33 ; paste -s J33 | column -t' SegFault
lossage reported by Jeremy Reed on tech-misc.
To generate a diff of this commit:
cvs rdiff -r1.15.2.1 -r1.15.2.2 src/usr.bin/column/column.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index