Commit Graph

21 Commits

Author SHA1 Message Date
lukem
98e5374ccb Remove the \n and tabs from the __COPYRIGHT() strings.
Tweak to use a consistent format.
2008-07-21 14:19:20 +00:00
mlelstv
217da3ad75 don't free input buffer repeatedly during non-whitespace hunt 2008-05-24 14:45:46 +00:00
christos
c74c62426e - sizeof(type) -> sizeof(variable)
- add a missing memset()
- process unlimited length lines
2008-02-23 21:10:54 +00:00
oster
eb54cecf5a 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.
2008-02-23 19:58:06 +00:00
perry
8b0f9554ff convert __attribute__s to applicable cdefs.h macros 2007-12-15 19:44:37 +00:00
christos
c83bfb9f05 - Change all emalloc to ecalloc, since the previous implementation of emalloc
zeroed out the buffers.
- Provide a macro for the tab rounding.
2006-12-09 21:42:40 +00:00
christos
cdab3a7a06 More programs using efun. 2006-08-26 18:17:41 +00:00
christos
c5e22666b0 Coverity CID 1596: Plug memory leak. 2006-04-09 19:51:23 +00:00
christos
267eeacec3 PR/32322: Daniel de Kok: Division by zero in column(1) with certain column
widths.
Cleanup and pass lint.
2005-12-17 18:10:55 +00:00
xtraeme
abda23981e Kill __P(), use ANSI function declarations, constify; WARNS=3. 2005-02-17 17:17:25 +00:00
itojun
4f228a52dc safer use of realloc 2003-10-16 06:45:22 +00:00
agc
89aaa1bb64 Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22365, verified by myself.
2003-08-07 11:13:06 +00:00
christos
e1178b155e - include <termios.h> for winsize
- char -> unsigned char
1998-11-06 22:59:12 +00:00
mycroft
519d858510 __AUDIT__ cleanup. 1998-07-28 19:22:54 +00:00
lukem
227b039655 test against != NULL not == NULL.... 1997-10-18 13:07:39 +00:00
lukem
7202b75851 WARNSify, fix .Nm usage, getopt returns -1 not EOF 1997-10-18 13:02:59 +00:00
mikel
0e938119f9 make usage string match manpage 1997-07-01 06:39:38 +00:00
jtc
3e4b73c5a6 Sync with 4.4lite2 1995-09-02 05:45:13 +00:00
glass
5678a97782 merge with 4.4Lite 1995-03-26 09:08:27 +00:00
mycroft
e9d867ef50 Add RCS identifiers. 1993-08-01 17:54:45 +00:00
cgd
61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00