pfg
7551d83c35
various: general adoption of SPDX licensing ID tags.
...
Mainly focus on files that use BSD 2-Clause license, however the tool I
was using misidentified many licenses so this was mostly a manual - error
prone - task.
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.
No functional change intended.
2017-11-27 15:37:16 +00:00
bdrewery
a598c4b809
DIRDEPS_BUILD: Update dependencies.
...
Sponsored by: Dell EMC Isilon
2017-10-31 00:07:04 +00:00
bdrewery
a4164f0dcd
DIRDEPS_BUILD: Connect new directories.
...
Sponsored by: Dell EMC Isilon
2017-10-31 00:04:07 +00:00
ngie
d26727d972
Add HAS_TESTS to all Makefiles that are currently using the
...
`SUBDIR.${MK_TESTS}+= tests` idiom.
This is a follow up to r321912.
2017-08-02 08:50:42 +00:00
ngie
734d081ed1
MFhead@r321912
2017-08-02 08:38:36 +00:00
cem
cbb9f3e660
csplit(1): Fix extraneous output in edge case
...
When the input to csplit contains fewer lines than the number of matches
specified, extra output was mistakenly included in some output files.
Fix the bug and add a simple ATF regression test.
PR: 219024
Submitted by: J.R. Oldroyd <fbsd at opal.com>
2017-05-08 15:51:29 +00:00
jilles
2bdc6493a9
csplit: Fix check of fputs() return value, making csplit work again.
...
As of r295638, fputs() returns the number of bytes written (if not more than
INT_MAX). This broke csplit completely, since csplit assumed only success
only for the return value 0.
PR: 213510
Submitted by: J.R. Oldroyd
MFC after: 1 week
Relnotes: yes
2017-05-02 21:56:20 +00:00
bapt
9af4744a94
Rename getline with get_line to avoid collision with getline(3)
...
When getline(3) in 2009 was added a _WITH_GETLINE guard has also been added.
This rename is made in preparation for the removal of this guard
Obtained from: NetBSD
2016-05-10 11:11:23 +00:00
sjg
008d7c831f
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
sjg
75a137820d
dirdeps.mk now sets DEP_RELDIR
2015-06-08 23:35:17 +00:00
sjg
5860f0d106
Updated dependencies
2014-05-16 14:09:51 +00:00
sjg
1a7e48acf1
Updated dependencies
2014-05-10 05:16:28 +00:00
sjg
5e568154a0
Merge head
2014-04-28 07:50:45 +00:00
joel
6300af606e
Correct example.
...
Submitted by: Jason McIntyre <jmc@kerhand.co.uk>
Thomas Klausner <wiz@netbsd.org>
2014-02-08 13:29:35 +00:00
sjg
6d37b86f2b
Updated dependencies
2013-03-11 17:21:52 +00:00
sjg
0ee5295509
Updated dependencies
2013-02-16 01:23:54 +00:00
marcel
9dd41e3647
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
ce4cbee6a1
Add missing static keywords to csplit(1)
2011-11-06 08:14:45 +00:00
trhodes
00acc9b7ae
A bit of rewording for clarity, taken from OpenBSD.
...
Submitted by: jmc@OpenBSD.org
2009-01-10 12:47:22 +00:00
trhodes
53d890b734
Update the description of -k, output files appear to
...
be left regardless of an error, signal, or complete
run.
PR: 69861
Submitted by: vlad902@gmail.com
2008-12-24 10:08:39 +00:00
tjr
dc2c21960c
Document input line length limit.
2005-01-25 22:32:48 +00:00
ru
7f3c7f0d46
Sort sections.
2005-01-18 13:43:56 +00:00
ru
6cc4b6c220
Added the EXIT STATUS section where appropriate.
2005-01-17 07:44:44 +00:00
tjr
1d2afa8a6d
Remove BUGS section that talked about missing multibyte character support.
...
We have support now that the regular expression routines do.
2004-07-12 10:17:02 +00:00
tjr
c9e47db057
Document missing multibyte character support in utilities specified
...
by POSIX.
2004-07-03 01:28:21 +00:00
tjr
01944bbfc2
Use fseeko() to properly support large files.
2004-03-22 11:15:03 +00:00
tjr
a1bce5d548
Use errc().
2004-03-22 09:33:10 +00:00
ru
aed6bc195b
mdoc(7) police: simplify.
2002-08-14 11:38:30 +00:00
dwmalone
39f15130f8
The return value of snprintf should be always nonnegative, so it should
...
be safe to cast it to a size_t before comparing it to a sizeof().
2002-07-28 15:41:15 +00:00
tjr
32b632dfec
Use sigaction(2) instead of signal(3) to avoid the signal handler being
...
re-entered.
2002-07-26 05:25:12 +00:00
tjr
ad903dff1e
Avoid truncating filenames with snprintf().
2002-06-29 05:31:26 +00:00
jmallett
241a475e6f
Note that this appeared at least as early as PWB UNIX.
...
Use the literal string 'PWB UNIX', as we still have no .At macro for it.
2002-06-10 22:59:59 +00:00
tjr
e20227aeb2
Respect LC_CTYPE and LC_COLLATE environment variables, mainly for their
...
effects on regular expressions. The libc regex code does not handle
equivalence classes well (for example), but we do our best.
2002-06-07 01:04:24 +00:00
ru
acd70ef916
mdoc(7) police: markup polishing.
2002-05-30 13:48:06 +00:00
tjr
054f70b470
Handle the case where a negative offset in a regular expression match
...
is larger than the number of lines in the overflow file.
2002-05-16 05:04:26 +00:00
tjr
f3cfd9a3f6
Correct synopsis and usage(): pattern arguments are not optional.
2002-05-16 04:39:19 +00:00
tjr
2112150022
Add the csplit(1) utility, which splits files based on context, as specified
...
by SUSv3.
This Makefile got left out of the previous commit.
PR: 36191
Reviewed by: mike
2002-05-02 07:54:04 +00:00
tjr
a776e9e8c8
Add the csplit(1) utility, which splits files based on context, as specified
...
by SUSv3.
PR: 36191
Reviewed by: mike
2002-05-02 07:46:36 +00:00