/[base]/head/usr.bin/column/column.c
ViewVC logotype

Log of /head/usr.bin/column/column.c

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (download) (annotate)
Sticky Revision:

Revision 327268 - (view) (download) (annotate) - [select for diffs]
Modified Thu Dec 28 05:33:44 2017 UTC (6 years, 6 months ago) by imp
File length: 8046 byte(s)
Diff to previous 326025
Free data after we're done with it.

CID: 271595, 275337, 1368743


Revision 326025 - (view) (download) (annotate) - [select for diffs]
Modified Mon Nov 20 19:49:47 2017 UTC (6 years, 7 months ago) by pfg
File length: 7975 byte(s)
Diff to previous 314436
General further adoption of SPDX licensing ID tags.

Mainly focus on files that use BSD 3-Clause license.

The Software Package Data Exchange (SPDX) group provides a specification
to make it easier for automated tools to detect and summarize well known
opensource licenses. We are gradually adopting the specification, noting
that the tags are considered only advisory and do not, in any way,
superceed or replace the license texts.

Special thanks to Wind River for providing access to "The Duke of
Highlander" tool: an older (2014) run over FreeBSD tree was useful as a
starting point.


Revision 314436 - (view) (download) (annotate) - [select for diffs]
Modified Tue Feb 28 23:42:47 2017 UTC (7 years, 4 months ago) by imp
File length: 7930 byte(s)
Diff to previous 292864
Renumber copyright clause 4

Renumber cluase 4 to 3, per what everybody else did when BSD granted
them permission to remove clause 3. My insistance on keeping the same
numbering for legal reasons is too pedantic, so give up on that point.

Submitted by:	Jan Schaumann <jschauma@stevens.edu>
Pull Request:	https://github.com/freebsd/freebsd/pull/96


Revision 292864 - (view) (download) (annotate) - [select for diffs]
Modified Tue Dec 29 11:24:41 2015 UTC (8 years, 6 months ago) by uqs
File length: 7930 byte(s)
Diff to previous 280911
Fix type mismatches for malloc(3) and Co.

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


Revision 280911 - (view) (download) (annotate) - [select for diffs]
Modified Tue Mar 31 15:03:58 2015 UTC (9 years, 3 months ago) by kevlo
File length: 7927 byte(s)
Diff to previous 227159
Remove bogus cast.


Revision 227159 - (view) (download) (annotate) - [select for diffs]
Modified Sun Nov 6 08:14:34 2011 UTC (12 years, 7 months ago) by ed
File length: 7975 byte(s)
Diff to previous 216370
Add missing static keywords to column(1)


Revision 216370 - (view) (download) (annotate) - [select for diffs]
Modified Sat Dec 11 08:32:16 2010 UTC (13 years, 6 months ago) by joel
File length: 7845 byte(s)
Diff to previous 165249
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


Revision 165249 - (view) (download) (annotate) - [select for diffs]
Modified Fri Dec 15 17:47:25 2006 UTC (17 years, 6 months ago) by ru
File length: 8082 byte(s)
Diff to previous 162453
Fix the fix in rev. 1.15 so that we jump to the next column
instead of always skipping it.

MFC after:	3 days


Revision 162453 - (view) (download) (annotate) - [select for diffs]
Modified Tue Sep 19 22:11:43 2006 UTC (17 years, 9 months ago) by iedowse
File length: 8088 byte(s)
Diff to previous 155621
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.


Revision 155621 - (view) (download) (annotate) - [select for diffs]
Modified Mon Feb 13 22:09:26 2006 UTC (18 years, 4 months ago) by dwmalone
File length: 8084 byte(s)
Diff to previous 140784
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


Revision 140784 - (view) (download) (annotate) - [select for diffs]
Modified Tue Jan 25 01:35:02 2005 UTC (19 years, 5 months ago) by jmallett
File length: 8066 byte(s)
Diff to previous 132835
Take a swing at using roundup().


Revision 132835 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jul 29 13:22:56 2004 UTC (19 years, 11 months ago) by tjr
File length: 8068 byte(s)
Diff to previous 132202
Add support for multibyte characters.


Revision 132202 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jul 15 09:23:04 2004 UTC (19 years, 11 months ago) by tjr
File length: 7242 byte(s)
Diff to previous 100818
Avoid passing negative values to isspace() on machines with signed chars.


Revision 100818 - (view) (download) (annotate) - [select for diffs]
Modified Sun Jul 28 15:25:15 2002 UTC (21 years, 11 months ago) by dwmalone
File length: 7227 byte(s)
Diff to previous 92920
ANSify function definitions to avoid a warning.


Revision 92920 - (view) (download) (annotate) - [select for diffs]
Modified Fri Mar 22 01:22:50 2002 UTC (22 years, 3 months ago) by imp
File length: 7226 byte(s)
Diff to previous 87628
remove __P


Revision 87628 - (view) (download) (annotate) - [select for diffs]
Modified Mon Dec 10 21:13:08 2001 UTC (22 years, 6 months ago) by dwmalone
File length: 7262 byte(s)
Diff to previous 87246
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.


Revision 87246 - (view) (download) (annotate) - [select for diffs]
Modified Sun Dec 2 23:52:47 2001 UTC (22 years, 7 months ago) by markm
File length: 7256 byte(s)
Diff to previous 87213
Use __FBSDID().


Revision 87213 - (view) (download) (annotate) - [select for diffs]
Modified Sun Dec 2 13:18:59 2001 UTC (22 years, 7 months ago) by markm
File length: 7254 byte(s)
Diff to previous 80292
WARNS=2 fixup.


Revision 80292 - (view) (download) (annotate) - [select for diffs]
Modified Tue Jul 24 14:13:34 2001 UTC (22 years, 11 months ago) by obrien
File length: 7248 byte(s)
Diff to previous 75137
Remove the misnamed `emalloc' and replace its uses with calloc (along
with error checking) which it effectively was.  (malloc+memset)


Revision 75137 - (view) (download) (annotate) - [select for diffs]
Modified Tue Apr 3 18:03:29 2001 UTC (23 years, 3 months ago) by dwmalone
File length: 7173 byte(s)
Diff to previous 41568
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


Revision 41568 - (view) (download) (annotate) - [select for diffs]
Modified Sun Dec 6 22:58:23 1998 UTC (25 years, 7 months ago) by archie
File length: 7201 byte(s)
Diff to previous 27093
Tweaks to allow compiling -Wall (mostly adding "const" to char rcsid[]).


Revision 27093 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jun 30 06:37:15 1997 UTC (27 years ago) by charnier
File length: 7179 byte(s)
Diff to previous 24360
Add missing -s flag in usage string.


Revision 24360 - (view) (download) (annotate) - [select for diffs]
Modified Sat Mar 29 04:34:07 1997 UTC (27 years, 3 months ago) by imp
File length: 7170 byte(s)
Diff to previous 23691
compare return value from getopt against -1 rather than EOF, per the final
posix standard on the topic.


Revision 23691 - (view) (download) (annotate) - [select for diffs]
Modified Tue Mar 11 13:08:12 1997 UTC (27 years, 3 months ago) by peter
File length: 7171 byte(s)
Copied from: vendor/CSRG/dist/usr.bin/column/column.c revision 23690
Diff to previous 23690
This commit was generated by cvs2svn to compensate for changes in r23690,
which included commits to RCS files with non-trunk default branches.


Revision 23690 - (view) (download) (annotate) - [select for diffs]
Modified Tue Mar 11 13:08:12 1997 UTC (27 years, 3 months ago) by peter
Original Path: vendor/CSRG/dist/usr.bin/column/column.c
File length: 7171 byte(s)
Diff to previous 1590
Import some parts of CSRG 4.4BSD-Lite2 usr.bin sources to fix tree build.


Revision 1590 - (view) (download) (annotate) - [select for diffs]
Added Fri May 27 12:33:43 1994 UTC (30 years, 1 month ago) by rgrimes
Original Path: vendor/CSRG/dist/usr.bin/column/column.c
File length: 7151 byte(s)
BSD 4.4 Lite Usr.bin Sources


This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

  ViewVC Help
Powered by ViewVC 1.1.27