History log of /freebsd-10-stable/usr.bin/column/column.c
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

# 227159 06-Nov-2011 ed

Add missing static keywords to column(1)


# 216370 11-Dec-2010 joel

Remove the advertising clause from UCB copyrighted files in usr.bin. This
is in accordance with the information provided at
ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change

Also add $FreeBSD$ to a few files to keep svn happy.

Discussed with: imp, rwatson


# 165249 15-Dec-2006 ru

Fix the fix in rev. 1.15 so that we jump to the next column
instead of always skipping it.

MFC after: 3 days


# 162453 19-Sep-2006 iedowse

Add missing parentheses to fix a segmentation fault that is easily
reproducable with `jot -s " " 400 1 | column -t'. The bug was present
in the the original CSRG 'column -t' added in 1989.


# 155621 13-Feb-2006 dwmalone

The change to make column use roundup(x, TAB) rounded things to the
current tab, however the code it replaced wanted to round to the
next TAB. Consequently things like this:

( echo 1 ; echo 2 ) | column

cause column to loop indefinitely. This patch is slightly different
from the one Gary submitted, but is closer to the original code.

Submitted by: Gary Cody <gary@lyranthe.org>
MFC after: 1 week


# 140784 24-Jan-2005 jmallett

Take a swing at using roundup().


# 132835 29-Jul-2004 tjr

Add support for multibyte characters.


# 132202 15-Jul-2004 tjr

Avoid passing negative values to isspace() on machines with signed chars.


# 100818 28-Jul-2002 dwmalone

ANSify function definitions to avoid a warning.


# 92920 21-Mar-2002 imp

remove __P


# 87628 10-Dec-2001 dwmalone

Style improvements recommended by Bruce as a follow up to some
of the recent WARNS commits. The idea is:

1) FreeBSD id tags should follow vendor tags.
2) Vendor tags should not be compiled (though copyrights probably should).
3) There should be no blank line between including cdefs and __FBSDIF.


# 87246 02-Dec-2001 markm

Use __FBSDID().


# 87213 02-Dec-2001 markm

WARNS=2 fixup.


# 80292 24-Jul-2001 obrien

Remove the misnamed `emalloc' and replace its uses with calloc (along
with error checking) which it effectively was. (malloc+memset)


# 75137 03-Apr-2001 dwmalone

Round up before checking if the width is smaller than the widest
column, otherwise we may divide by zero later.

PR: 26283
Reviewed by: roam


# 41568 06-Dec-1998 archie

Tweaks to allow compiling -Wall (mostly adding "const" to char rcsid[]).


# 27093 30-Jun-1997 charnier

Add missing -s flag in usage string.


# 24360 29-Mar-1997 imp

compare return value from getopt against -1 rather than EOF, per the final
posix standard on the topic.


# 23691 11-Mar-1997 peter

This commit was generated by cvs2svn to compensate for changes in r23690,
which included commits to RCS files with non-trunk default branches.


# 23690 11-Mar-1997 peter

Import some parts of CSRG 4.4BSD-Lite2 usr.bin sources to fix tree build.


# 1590 27-May-1994 rgrimes

BSD 4.4 Lite Usr.bin Sources