Home | History | Annotate | Download | only in column
History log of /src/usr.bin/column/column.c
RevisionDateAuthorComments
 1.22  27-Aug-2020  simonb Whitespace nit.
 1.21  21-Jul-2008  lukem Remove the \n and tabs from the __COPYRIGHT() strings.
Tweak to use a consistent format.
 1.20  24-May-2008  mlelstv don't free input buffer repeatedly during non-whitespace hunt
 1.19  23-Feb-2008  christos branches: 1.19.2; 1.19.4;
- sizeof(type) -> sizeof(variable)
- add a missing memset()
- process unlimited length lines
 1.18  23-Feb-2008  oster 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.
 1.17  15-Dec-2007  perry branches: 1.17.2;
convert __attribute__s to applicable cdefs.h macros
 1.16  09-Dec-2006  christos branches: 1.16.4;
- Change all emalloc to ecalloc, since the previous implementation of emalloc
zeroed out the buffers.
- Provide a macro for the tab rounding.
 1.15  26-Aug-2006  christos branches: 1.15.2;
More programs using efun.
 1.14  09-Apr-2006  christos Coverity CID 1596: Plug memory leak.
 1.13  17-Dec-2005  christos PR/32322: Daniel de Kok: Division by zero in column(1) with certain column
widths.
Cleanup and pass lint.
 1.12  17-Feb-2005  xtraeme branches: 1.12.2; 1.12.4;
Kill __P(), use ANSI function declarations, constify; WARNS=3.
 1.11  16-Oct-2003  itojun safer use of realloc
 1.10  07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22365, verified by myself.
 1.9  06-Nov-1998  christos - include <termios.h> for winsize
- char -> unsigned char
 1.8  28-Jul-1998  mycroft __AUDIT__ cleanup.
 1.7  18-Oct-1997  lukem test against != NULL not == NULL....
 1.6  18-Oct-1997  lukem WARNSify, fix .Nm usage, getopt returns -1 not EOF
 1.5  01-Jul-1997  mikel make usage string match manpage
 1.4  02-Sep-1995  jtc Sync with 4.4lite2
 1.3  26-Mar-1995  glass merge with 4.4Lite
 1.2  01-Aug-1993  mycroft Add RCS identifiers.
 1.1  21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.3  02-Sep-1995  jtc imported from 44lite2
 1.1.1.2  26-Mar-1995  glass Import from 4.4Lite
 1.1.1.1  21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.12.4.2  06-Aug-2006  tron Pull up following revision(s) (requested by daniel in ticket #1449):
usr.bin/column/column.c: revision 1.14
Coverity CID 1596: Plug memory leak.
 1.12.4.1  06-Aug-2006  tron Pull up following revision(s) (requested by daniel in ticket #1449):
usr.bin/column/column.c: revision 1.13
PR/32322: Daniel de Kok: Division by zero in column(1) with certain column
widths.
Cleanup and pass lint.
 1.12.2.3  24-Feb-2008  bouyer 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.
 1.12.2.2  06-Aug-2006  tron Pull up following revision(s) (requested by daniel in ticket #1449):
usr.bin/column/column.c: revision 1.14
Coverity CID 1596: Plug memory leak.
 1.12.2.1  06-Aug-2006  tron Pull up following revision(s) (requested by daniel in ticket #1449):
usr.bin/column/column.c: revision 1.13
PR/32322: Daniel de Kok: Division by zero in column(1) with certain column
widths.
Cleanup and pass lint.
 1.15.2.2  24-Feb-2008  bouyer 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.
 1.15.2.1  18-Dec-2006  tron branches: 1.15.2.1.2;
Pull up following revision(s) (requested by jdc in ticket #281):
usr.bin/column/column.c: revision 1.16
- Change all emalloc to ecalloc, since the previous implementation of emalloc
zeroed out the buffers.
- Provide a macro for the tab rounding.
 1.15.2.1.2.1  03-Jun-2008  skrll Sync with netbsd-4.
 1.16.4.2  23-Mar-2008  matt sync with HEAD
 1.16.4.1  09-Jan-2008  matt sync with HEAD
 1.17.2.1  24-Mar-2008  keiichi sync with head.
 1.19.4.2  18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.19.4.1  23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.19.2.1  04-Jun-2008  yamt sync with head

RSS XML Feed