Bryan Drewery
3806950135
DIRDEPS_BUILD: Connect new directories.
...
Sponsored by: Dell EMC Isilon
2017-10-31 00:04:07 +00:00
Enji Cooper
d511b20a69
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
Enji Cooper
4b330699f8
Convert traditional ${MK_TESTS} conditional idiom for including test
...
directories to SUBDIR.${MK_TESTS} idiom
This is being done to pave the way for future work (and homogenity) in
^/projects/make-check-sandbox .
No functional change intended.
MFC after: 1 weeks
2017-08-02 08:35:51 +00:00
Conrad Meyer
48b644192d
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 Tjoelker
daa379c5af
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
Baptiste Daroussin
a651f2bc6c
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
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
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
3b8f084595
Merge head
2014-04-28 07:50:45 +00:00
Joel Dahl
3d9335a67e
Correct example.
...
Submitted by: Jason McIntyre <jmc@kerhand.co.uk>
Thomas Klausner <wiz@netbsd.org>
2014-02-08 13:29:35 +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
b168c3c84b
Add missing static keywords to csplit(1)
2011-11-06 08:14:45 +00:00
Tom Rhodes
514262dd44
A bit of rewording for clarity, taken from OpenBSD.
...
Submitted by: jmc@OpenBSD.org
2009-01-10 12:47:22 +00:00
Tom Rhodes
c92f699693
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
Tim J. Robbins
d99e92769c
Document input line length limit.
2005-01-25 22:32:48 +00:00
Ruslan Ermilov
6c7216df78
Sort sections.
2005-01-18 13:43:56 +00:00
Ruslan Ermilov
a866e17077
Added the EXIT STATUS section where appropriate.
2005-01-17 07:44:44 +00:00
Tim J. Robbins
2a573a0ebf
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
Tim J. Robbins
4f45d81178
Document missing multibyte character support in utilities specified
...
by POSIX.
2004-07-03 01:28:21 +00:00
Tim J. Robbins
2fa2fea101
Use fseeko() to properly support large files.
2004-03-22 11:15:03 +00:00
Tim J. Robbins
23e7704b30
Use errc().
2004-03-22 09:33:10 +00:00
Ruslan Ermilov
93df249471
mdoc(7) police: simplify.
2002-08-14 11:38:30 +00:00
David Malone
8015edeebb
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
Tim J. Robbins
5b3df62e01
Use sigaction(2) instead of signal(3) to avoid the signal handler being
...
re-entered.
2002-07-26 05:25:12 +00:00
Tim J. Robbins
e12c2e18a5
Avoid truncating filenames with snprintf().
2002-06-29 05:31:26 +00:00
Juli Mallett
6fc8ba94c6
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
Tim J. Robbins
9bd2f93ab4
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
Ruslan Ermilov
2d2ca4665c
mdoc(7) police: markup polishing.
2002-05-30 13:48:06 +00:00
Tim J. Robbins
248602a1b2
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
Tim J. Robbins
bc0259551f
Correct synopsis and usage(): pattern arguments are not optional.
2002-05-16 04:39:19 +00:00
Tim J. Robbins
c459e06c78
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
Tim J. Robbins
ea9e961cb2
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