Glen Barber
7d536dc855
MFH
...
Sponsored by: The FreeBSD Foundation
2016-03-10 21:16:01 +00:00
Bryan Drewery
15c433351f
DIRDEPS_BUILD: Connect MK_TESTS.
...
Sponsored by: EMC / Isilon Storage Division
2016-03-09 22:46:01 +00:00
Glen Barber
43faedc133
First pass to fix the 'tests' packages.
...
Sponsored by: The FreeBSD Foundation
2016-02-02 22:26:49 +00:00
Enji Cooper
b2d48be1bc
Refactor the test/ Makefiles after recent changes to bsd.test.mk (r289158) and
...
netbsd-tests.test.mk (r289151)
- Eliminate explicit OBJTOP/SRCTOP setting
- Convert all ad hoc NetBSD test integration over to netbsd-tests.test.mk
- Remove unnecessary TESTSDIR setting
- Use SRCTOP where possible for clarity
MFC after: 2 weeks
Sponsored by: EMC / Isilon Storage Divison
2015-10-12 08:16:03 +00:00
Simon J. Gerraty
ccfb965433
Add META_MODE support.
...
Off by default, build behaves normally.
WITH_META_MODE we get auto objdir creation, the ability to
start build from anywhere in the tree.
Still need to add real targets under targets/ to build packages.
Differential Revision: D2796
Reviewed by: brooks imp
2015-06-13 19:20:56 +00:00
Simon J. Gerraty
44d314f704
dirdeps.mk now sets DEP_RELDIR
2015-06-08 23:35:17 +00:00
Simon J. Gerraty
98e0ffaefb
Merge sync of head
2015-05-27 01:19:58 +00:00
Baptiste Daroussin
7bc60a1616
For half and reverse line feeds, recognize both SUSv2-style escape-digit
...
and BSD-style escape-control-char sequences in the input stream.
Submitted by: schwarze at OpenBSD
Discussed with: schwarze at OpenBSD
Obtained from: OpenBSD
2015-05-10 11:41:38 +00:00
Baptiste Daroussin
f23ed79b08
Fix about ten integer overflows and underflows and a handful of logic
...
errors in line number handling.
Submitted by: ingo at OpenBSD
Discussed with: ingo at OpenBSD
Obtained from: OpenBSD
2015-05-08 22:11:54 +00:00
Baptiste Daroussin
e5ea68e766
Capsicumize col(1)
2015-05-02 12:22:24 +00:00
Baptiste Daroussin
078fd35f79
Actually push the right tests
2015-05-02 12:19:24 +00:00
Baptiste Daroussin
3bf8ad7de2
Add regression test about reverse line feed to col(1)
2015-05-02 12:08:28 +00:00
Baptiste Daroussin
a9da03ef30
Use defines to improve clarity
...
MFC after: 2 weeks
2015-05-01 17:33:32 +00:00
Baptiste Daroussin
f6240da93c
col: fixing 25 year old bug
...
Makes col(1) respect POSIX again for escape sequences as decribed in its manpage
The bug was introduced in CSRG in 1990
This also reverts r280911
Differential Revision: https://reviews.freebsd.org/D2424
Reviewed by: jhb
MFC after: 2 weeks
2015-05-01 17:18:07 +00:00
Kevin Lo
18463c7749
Remove bogus cast.
2015-03-31 15:03:58 +00:00
Simon J. Gerraty
9268022b74
Merge from head@274682
2014-11-19 01:07:58 +00:00
John-Mark Gurney
7e2c0c79fa
Fix to col when printing half-line feeds w/ -f option...
...
Message-Id on openbsd-tech: 20141017195810.GJ132@iris.usta.de
Submitted by: Ingo Schwarze
Obtained from: OpenBSD
MFC after: 3 days
2014-10-17 21:09:03 +00:00
Simon J. Gerraty
fae50821ae
Updated dependencies
2014-05-16 14:09:51 +00:00
Simon J. Gerraty
76b28ad6ab
Updated dependencies
2014-05-10 05:16:28 +00:00
Simon J. Gerraty
7cf3a1c6b2
Updated dependencies
2013-03-11 17:21:52 +00:00
Simon J. Gerraty
f5f7c05209
Updated dependencies
2013-02-16 01:23:54 +00:00
Marcel Moolenaar
7750ad47a9
Sync FreeBSD's bmake branch with Juniper's internal bmake branch.
...
Requested by: Simon Gerraty <sjg@juniper.net>
2012-08-22 19:25:57 +00:00
Ed Schouten
ab8d971c3a
Add missing static keywords to col(1)
2011-11-06 08:14:22 +00:00
Joel Dahl
da52b4caaf
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
Ed Maste
5eb2aa4543
Remove more extraneous ;s.
2010-07-15 00:04:14 +00:00
Stefan Farfeleder
ae66acac87
The variables i and tot don't need to be static.
2006-07-18 07:16:25 +00:00
David Malone
707083753a
Avoid shadowing a local scratch variable,
2005-11-13 20:30:13 +00:00
Ruslan Ermilov
0227791b40
Expand *n't contractions.
2005-02-13 22:25:33 +00:00
Ruslan Ermilov
a866e17077
Added the EXIT STATUS section where appropriate.
2005-01-17 07:44:44 +00:00
Tim J. Robbins
ff1b94f04f
Add a standard DIAGNOSTICS section.
2004-08-04 02:55:25 +00:00
Tim J. Robbins
a732e584d0
Add a cross-reference to colcrt(1).
2004-07-29 07:41:43 +00:00
Tim J. Robbins
919480b7be
Sort #include directives and remove one duplicate that crept in to the
...
previous commit.
2004-07-29 07:28:26 +00:00
Tim J. Robbins
c3fae7442e
Add support for multibyte characters, loosely based on Bruno Haible's
...
work in the util-linux package.
2004-07-29 07:23:37 +00:00
Tim J. Robbins
d1573e5841
Document incorrect handling of multibyte characters.
2004-07-15 06:43:52 +00:00
Ruslan Ermilov
557b7fa148
Deal with double whitespace.
2004-07-03 00:24:45 +00:00
David Malone
f4ac32def2
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
Juli Mallett
3a7fc8ce59
Remove local prototypes for main().
2002-08-19 03:07:56 +00:00
Tim J. Robbins
a51b574c46
Sort options in Description section.
2002-06-04 09:17:30 +00:00
Tim J. Robbins
debb184261
Note SUSv2 conformance.
2002-06-04 09:16:09 +00:00
Philippe Charnier
3898680cf7
Use `The .Nm utility'
2002-04-19 23:44:58 +00:00
Warner Losh
f1bb2cd2aa
remove __P
2002-03-22 01:22:50 +00:00
Mark Murray
91bd71d206
Remove leaf node WARNS?=2 (that mainly I added). This should
...
help the GCC3 transition and CURRENT in general.
2002-02-08 22:31:43 +00:00
David Malone
9f5b04e925
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.
2001-12-10 21:13:08 +00:00
Mark Murray
84c0ff2233
Use __FBSDID().
2001-12-02 23:34:16 +00:00
David E. O'Brien
44974a7f49
Remove the misnamed `xmalloc' and replace its uses with the realloc (along
...
with error checking) that it actually was.
2001-07-24 14:14:11 +00:00
Dima Dorfman
f247324df7
Remove whitespace at EOL.
2001-07-15 08:06:20 +00:00
Mike Heffner
844518ff93
Add the -p flag to force unknown control sequences to be passed
...
through unchanged.
Reviewed by: silence on -audit
Obtained from: NetBSD
MFC after: 3 weeks
2001-06-17 04:24:16 +00:00
Mike Heffner
f34d0e7447
Use err(3) and style(9) cleanup.
...
MFC after: 2 weeks
2001-06-17 03:56:00 +00:00
Kris Kennaway
50d6b258b2
Fix a trivial warning and clamp down with WARNS=2
...
MFC after: 1 week
2001-05-26 22:45:14 +00:00
Dima Dorfman
43d665c0d1
Document the -h option.
2001-05-11 23:53:46 +00:00