13637 Commits

Author SHA1 Message Date
christos
e7f0fa0971 PR/53285: Andreas Gustafsson: Build times tripled with make/job.c 1.193
Revert previous:
    2018.05.12.15.14.49/bracket.db:build_wall_time=4896.09
    2018.05.12.18.17.04/bracket.db:build_wall_time=16268.98
2018-05-13 12:10:36 +00:00
sjg
68df7c9526 Skip setting wantToken.
polling the job token pipe adds a lot of overhead
for little gain.
For now, just leave wantToken=0

And avoid busy waiting when no tokens are available and
no jobs are running.

Reviewed by: christos
2018-05-12 18:17:04 +00:00
sevan
838100b8e4 Match sequence of flags with usage()
Following on from mandoc -Tlint, drop Pp macro before Bl and Tn macro.
2018-05-11 16:36:57 +00:00
christos
8234f5ded0 handle field rename. 2018-05-09 01:04:01 +00:00
mrg
1f3c181244 in dir_search(), don't assume a directory existing is useful, instead
confirm that there is a non zero makefile in there.  (this assumes
the makefile is called "Makefile", which is assumed in other places
in crunchgen.c already, so this doesn't make it worse.)

this fixes build issues when an empty subdir exists because some files
were moved subdir at some stage (ktrace, rcorder), and a non-prune
update may look in the wrong dir.

bump version (lots of updates between now and the previous update.)
2018-05-08 23:05:17 +00:00
maxv
5d73803e75 Remove now unused tcpip.h includes. Some were already unused before. 2018-05-03 07:13:48 +00:00
wiz
f3452549f5 Sync usage with manpage. 2018-05-03 05:14:55 +00:00
wiz
48d7082b13 Merge options without arguments in synopsis. 2018-05-03 05:13:20 +00:00
mrg
f2057d54c9 if just parsing don't try to read the uninitialised device name,
or display the unit number.

add a "-s" option that sends an ALL_SOUNDS_OFF midi event.  very
useful after an interrupted midiplay leaves notes on.
2018-05-03 01:12:57 +00:00
christos
58cf2108e5 print the mprotect perm argument symbolically. 2018-04-29 18:00:31 +00:00
christos
aa6e79d158 Keep previous location of device definitions so we can print them in error
messages.
2018-04-09 17:46:56 +00:00
christos
019d365a3a Pass -S to ed(1) so that patches containing ! commands don't run commands.
Real cause of CVS-2018-0492:
    https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=894667)
2018-04-05 18:50:10 +00:00
christos
7a9e78e3c6 Appease the compiler gods; yes I know what I am doing adding to a literal
string.
2018-04-05 16:31:54 +00:00
christos
331fc54718 Be more selective about detecting a SYSV include as opposed to a dependency
line. Dependency lines should contain a '::' operator or ':<space>'.
2018-04-05 00:31:10 +00:00
dholland
377ca2b42e Fix bad markup. 2018-04-02 04:26:17 +00:00
wiz
2458e695f0 Remove Tn. 2018-03-12 09:29:43 +00:00
dholland
ab87b60207 Explicitly mention use of -- for format strings beginning with -,
per PR 21970.
2018-03-12 00:42:05 +00:00
christos
ecaf5f24ed deal with cvs meta-data directories not called CVS. 2018-03-11 14:59:41 +00:00
eadler
c197dbace7 [tail] Fix type of 'len'
ok pgoyette
2018-03-06 03:33:26 +00:00
dholland
7f4ac6d6b0 Don't use the local username as the default anonftp password.
once upon a time doing this was part of the social glue that held the
community together, but that was a long time ago, and now it's just an
information leak.

proposed on tech-userlevel in 2008, then apparently forgotten :-|
2018-03-04 19:57:41 +00:00
htodd
dab912008b Fix typo in comment. 2018-02-26 00:05:05 +00:00
htodd
0fc0030f2f Fix typo in error message. 2018-02-25 23:48:16 +00:00
mrg
2e19323388 add LIBKRB5_LDADD/LIBKRB5_DPADD and their static counterparts
to bsd.prog.mk.  use them instead of hard coding various lists
of libraries for krb5.

this fixes static builds.
2018-02-25 00:16:48 +00:00
sjg
b4dd1ca28c Avoid calling sysconf for every file loaded.
At start of a meta build this can be measurable overhead.

Patch from bdrewery at freebsd.org
2018-02-22 01:59:28 +00:00
sjg
13b51c6c09 Var_Set: avoid SIGSEGV if val is NULL
A NULL val is handled gracefully (by VarAdd) when
var is not previously set, so we ought not crash
the second time.

PR: 53034
2018-02-18 00:52:42 +00:00
sjg
5984bab77d Avoid unused variable warning 2018-02-13 19:37:30 +00:00
sjg
9d28f87b89 Do not treat .info as warning for -W
Reported by: lwhsu at FreeBSD.org
2018-02-12 21:38:09 +00:00
christos
a58fb25d66 more volatile to appease gcc. 2018-02-11 02:51:58 +00:00
dholland
32cded6cc9 Typos. 2018-02-08 09:05:16 +00:00
christos
fa1c26bf9a mark old compat functions. 2018-02-06 20:15:39 +00:00
christos
e7129348cf use OPENSSL_API_COMPAT 2018-02-06 20:10:05 +00:00
christos
5b83cee45e use OpenSSL-1.1 apis 2018-02-06 19:51:03 +00:00
christos
96cef95189 use BN_is_prime_ex 2018-02-06 19:32:49 +00:00
christos
59b2928637 explicitly include <string.h> since OpenSSL-1.1 does not do it for us. 2018-02-06 19:26:02 +00:00
christos
fa34604a3c Adjust to OpenSSL 1.1 2018-02-06 17:58:19 +00:00
mrg
4695f70791 fixes for GCC 6.4:
- fix an indentation issue in radioioctl().
- fix an indentation issue in mpt_run_xfer().
- grep's printline() has some {} placement issues.
2018-02-05 22:14:26 +00:00
jmcneill
95031fc0dd Fix tools build 2018-02-04 17:33:34 +00:00
jmcneill
4c511e4691 Add support for writing "AArch64 Linux kernel image" format images.
These images begin with a 64-byte header that includes a load offset,
image size, some flags, and a small (2 word) area at the start for
executable code.

These images are compatible with U-Boot's "booti" command, and can be
used to make U-Boot relocate our kernel to a 2MB aligned base address.
After relocation, U-Boot will jump to the code at the beginning of the
header, where we encode a relative branch forward instruction to branch
to the beginning of the kernel at offset +0x40.
2018-02-04 15:44:51 +00:00
mrg
aa20739e7d fixes for GCC 6.4:
mail's execute() needs a volatile for setjmp().

telnet has a missing {} issue.

isdnd's print_config() has a missing/wrong {} issue, and
its p_q931bc() has inconsistent indentation (but not any
actual problem.)

map-mbone's accept_neighbors2() compares a vs. a instead
of a vs. b.

sysinst's pm_cgd_check() has missing {} issue.

timed's main() has missing {} issue.
2018-02-04 09:01:12 +00:00
sevan
7a75668892 drop main() prototype 2018-01-23 22:12:52 +00:00
christos
632b456bd3 fix indent 2018-01-15 22:14:24 +00:00
christos
fbbe58556f Add a _Noreturn token 2018-01-15 21:58:54 +00:00
wiz
e7721e081a Stop using Tn. New sentence, new line. 2018-01-09 09:24:22 +00:00
christos
b985414b8f Merge autofs support from: Tomohiro Kusumi
XXX: Does not work yet
2018-01-09 03:31:12 +00:00
christos
541fa6f429 Don't print duplicate definitions for inline symbols. 2017-12-26 17:02:19 +00:00
maya
47dee010ce Return a non-zero (one) exit code on failure for one of the files
But keep on processing them, like ls, rm, and other programs do
2017-12-25 05:08:49 +00:00
plunky
666f6884ad consistent style: connect(2), socket(2) and setsockopt(2) return -1
for error so check for this specifically rather than < 0
2017-12-21 09:04:34 +00:00
plunky
655a736e6f fix width of .Bl list 2017-12-21 09:02:47 +00:00
plunky
516fe55a41 fix offset/indent of list 2017-12-21 08:59:27 +00:00
kre
c56c6100f2 Add names of a few more ICMPv6 messages, from RFC6275 (Mobile IPv6)
and RFC4286 (Multicast Router Discovery.) and as shown in the IANA
parameters page available at:
  https://www.ietf.org/assignments/icmpv6-parameters/icmpv6-parameters.txt

Also make the array be explicitly 256 entries long, one for each possible
code, which will detect attempts to insert names without deleting the
place holder (and mean a good solid NULL de-ref if too many place holders
are deleted, rather than just random results.)
2017-12-19 17:05:15 +00:00