summaryrefslogtreecommitdiffstats
path: root/usr.bin/column/column.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix type mismatches for malloc(3) and Co.uqs2015-12-291-1/+1
| | | | | | | | | This is rather pedantic, as for most architectures it holds that sizeof(type *) == sizeof(type **) Found by: clang static analyzer Reviewed by: ed Differential Revision: https://reviews.freebsd.org/D4722
* Remove bogus cast.kevlo2015-03-311-6/+6
|
* Add missing static keywords to column(1)ed2011-11-061-22/+22
|
* Remove the advertising clause from UCB copyrighted files in usr.bin. Thisjoel2010-12-111-4/+0
| | | | | | | | | 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
* Fix the fix in rev. 1.15 so that we jump to the next columnru2006-12-151-3/+3
| | | | | | instead of always skipping it. MFC after: 3 days
* Add missing parentheses to fix a segmentation fault that is easilyiedowse2006-09-191-3/+3
| | | | | reproducable with `jot -s " " 400 1 | column -t'. The bug was present in the the original CSRG 'column -t' added in 1989.
* The change to make column use roundup(x, TAB) rounded things to thedwmalone2006-02-131-3/+3
| | | | | | | | | | | | | 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
* Take a swing at using roundup().jmallett2005-01-251-3/+4
|
* Add support for multibyte characters.tjr2004-07-291-33/+69
|
* Avoid passing negative values to isspace() on machines with signed chars.tjr2004-07-151-1/+1
|
* ANSify function definitions to avoid a warning.dwmalone2002-07-281-10/+7
|
* remove __Pimp2002-03-221-6/+6
|
* Style improvements recommended by Bruce as a follow up to somedwmalone2001-12-101-5/+6
| | | | | | | | 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.
* Use __FBSDID().markm2001-12-021-4/+6
|
* WARNS=2 fixup.markm2001-12-021-1/+1
|
* Remove the misnamed `emalloc' and replace its uses with calloc (alongobrien2001-07-241-19/+13
| | | | with error checking) which it effectively was. (malloc+memset)
* Round up before checking if the width is smaller than the widestdwmalone2001-04-031-3/+5
| | | | | | | column, otherwise we may divide by zero later. PR: 26283 Reviewed by: roam
* Tweaks to allow compiling -Wall (mostly adding "const" to char rcsid[]).archie1998-12-061-7/+7
|
* Add missing -s flag in usage string.charnier1997-06-301-1/+1
|
* compare return value from getopt against -1 rather than EOF, per the finalimp1997-03-291-1/+1
| | | | posix standard on the topic.
* Import some parts of CSRG 4.4BSD-Lite2 usr.bin sources to fix tree build.peter1997-03-111-1/+2
|
* BSD 4.4 Lite Usr.bin Sourcesrgrimes1994-05-271-0/+304
OpenPOWER on IntegriCloud