Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [netbsd-3] src/usr.bin/column



Module Name:    src
Committed By:   bouyer
Date:           Sun Feb 24 13:25:06 UTC 2008

Modified Files:
        src/usr.bin/column [netbsd-3]: column.c

Log Message:
Pull up following revision(s) (requested by oster in ticket #1907):
        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.12.2.2 -r1.12.2.3 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