ed
b4971e80fe
Mark global functions and/or variables in expand(1) static where possible.
...
This allows compilers and static analyzers to more thorough analysis.
2011-11-06 18:49:30 +00:00
joel
29af67e52c
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
2010-12-11 08:32:16 +00:00
delphij
0842b7d53f
Revert most part of 200420 as requested, as more review and polish is
...
needed.
2009-12-13 03:14:06 +00:00
delphij
b963db4652
Remove unneeded header includes from usr.bin/ except contributed code.
...
Tested with: make universe
2009-12-11 23:35:38 +00:00
tjr
13a52cdc0e
Add support for multibyte characters and for characters that take up
...
more than one column position.
2004-06-24 13:42:26 +00:00
dwmalone
b4339b74ad
ANSIify function definitions.
...
Add some constness to avoid some warnings.
Remove use register keyword.
Deal with missing/unneeded extern/prototypes.
Some minor type changes/casts to avoid warnings.
Reviewed by: md5
2002-09-04 23:29:10 +00:00
obrien
bc61fc95d8
Consistently use FBSDID
2002-06-30 05:25:07 +00:00
tjr
7853af48f5
Allow <blank>s to be used to separate tab stop positions with the -t
...
argument, not just ASCII space characters and commas. Don't count
non-printing characters when determining column position.
2002-06-15 10:16:39 +00:00
tjr
fcdda3c7ed
If processing of one file fails, try to process the remaining files and
...
exit non-zero instead of immediately exiting (SUSv3).
2002-05-24 06:00:47 +00:00
imp
74d826c7a6
remove __P
2002-03-22 01:22:50 +00:00
ru
5e2e7f621a
Boundary check an array holding tab stops.
...
PR: bin/35590
Submitted by: "Tim J. Robbins" <tim@robbins.dropbear.id.au>
2002-03-06 12:05:17 +00:00
dd
dc0185a459
Include missing header files which define functions for which gcc has
...
builtins (e.g., exit, strcmp).
2001-06-24 19:50:42 +00:00
dd
a925159d66
Don't arbitrarily limit tabstop expansions to 256 characters.
...
Submitted by: Oliver Fromme <oliver.fromme@heim3.tu-clausthal.de>
2001-06-20 01:08:58 +00:00
charnier
26ea86f226
Use errx(), remove unused #include. Correct SYNOPSIS
2000-03-26 14:28:31 +00:00
peter
3b842d34e8
$Id$ -> $FreeBSD$
1999-08-28 01:08:13 +00:00
archie
167c036e91
Tweaks to allow compiling -Wall (mostly adding "const" to char rcsid[]).
1998-12-06 22:58:23 +00:00
cwt
4838074233
PR: bin/5529
...
Submitted by: Shigio Yamaguchi <shigio@wafu.netgate.net>
Do not misinterpret file names with a digit in the 2nd column as
a tab stop specification.
1998-02-02 07:10:59 +00:00
charnier
392cc87247
Add usage(), rcsid. Use getopt().
...
Obtained from: OpenBSD.
1997-07-01 06:34:31 +00:00
rgrimes
f9ab90d9d6
BSD 4.4 Lite Usr.bin Sources
1994-05-27 12:33:43 +00:00