dim
8f5245e1de
Update Makefiles and other build glue for llvm/clang 3.7.0, as of trunk
...
r238337.
2015-05-30 15:39:49 +00:00
dchagin
f1806e4235
Teach kdump to understand both linux emulation.
...
Differential Revision: https://reviews.freebsd.org/D1079
Reviewed by: emaste
2015-05-24 16:22:03 +00:00
trasz
38f5a1dde7
Advertise ctlstat(8) a little better.
...
MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation
2015-05-22 11:59:37 +00:00
imp
3beb8f5711
Remove stray DEBUG_FLAGS=-g that snuck in with r184761.
2015-05-21 14:36:14 +00:00
bapt
2426717d0f
Remove demandoc(1) from the build
2015-05-21 13:02:43 +00:00
bapt
e18aff02df
Drop libmandoc and incorporate it into the main mandoc Makefile
...
This simplifies maintainance of mandoc(1).
Note that the same direction was taken on OpenBSD
2015-05-21 12:51:56 +00:00
bapt
0a58693d99
* fix roff terminology in .Nd
...
* remove .Xr to self
* add AUTHORS section
Submitted by: schwarze at OpenBSD
2015-05-21 08:28:48 +00:00
bapt
7da418e1a9
add an include on sys/types.h because we do explicitly use size_t
...
remove unused stdbool.h
Suggested by: schwarze at OpenBSD
2015-05-21 08:26:24 +00:00
bapt
5c514e6097
Use the POSIX PATH_MAX macro from limits.h instead of non standard MAXPATHLEN
...
Submitted by: schwarze at OpenBSD
2015-05-21 08:23:45 +00:00
bapt
9bbc11a324
sort headers
2015-05-21 08:20:42 +00:00
allanjude
2ad178c529
Create links to the libprocstat man pages for all of the libprocstat functions so they can be looked up by name
...
Add a cross refrence to libprocstat in the procstat.1 man page
Differential Revision: https://reviews.freebsd.org/D2578
Suggested by: jmg
Reviewed by: brueffer
Approved by: wblock (mentor)
MFC after: 1 week
Sponsored by: ScaleEngine Inc.
2015-05-21 03:32:44 +00:00
bapt
af288ae5ce
Synchronize with OpenBSD
...
Obtained from: OpenBSD
2015-05-18 22:40:12 +00:00
jmg
cbf08eb25f
Don't do things we aren't allowed to do in a signal handler... Defer
...
the work to the main thread... This fixes a possible crash if SIGINFO
is delivered at the wrong time...
This still leaves getrusage broken for some reason, but I believe that
is a kernel issue and cannot be fixed here...
2015-05-18 19:18:42 +00:00
loos
d9cd8beca4
Properly align the header and the data columns for netstat -r with and
...
without the -W flag.
2015-05-18 18:03:47 +00:00
loos
a416f5f996
Adjust the string format to match the actual number of arguments.
...
This fix a segmentation fault on ARM when netstat -r is used together with
-W.
This issue was introduced in r279122.
2015-05-17 15:12:55 +00:00
eadler
40b5caa259
ssh-copy-id: Add missing line continuation
...
PR: 194301
Reported by: pkubaj@riseup.net
Patch by: Ross Kilgariff <rosskilgariff@gmail.com>
2015-05-16 06:15:49 +00:00
bapt
10d3fc4445
Allow MANWIDTH to work with mandoc(1)
...
Reported by: bdrewery
2015-05-15 15:56:28 +00:00
emaste
b8b309799a
vtfontcvt: Allow 6 digits in verbose output
...
Some fonts (e.g. GNU Unifont) have more than 100,000 (half-)glyphs.
Sponsored by: The FreeBSD Foundation
2015-05-14 20:17:53 +00:00
emaste
01699072e4
Add ELF machine EM_IAMCU, 32-bit Intel MCU
...
It is e_machine 6, which was previously reserved for 486.
2015-05-14 18:29:05 +00:00
trasz
82bbee8b66
Build GENERIC with RACCT/RCTL support by default. Note that it still
...
needs to be enabled by adding "kern.racct.enable=1" to /boot/loader.conf.
Differential Revision: https://reviews.freebsd.org/D2407
Reviewed by: emaste@, wblock@
MFC after: 1 month
Relnotes: yes
Sponsored by: The FreeBSD Foundation
2015-05-14 14:03:55 +00:00
fanf
2f34b1414e
whois: add an option to query the PeeringDB
2015-05-14 11:37:36 +00:00
fanf
468f92a106
Update whois(1) synopsis.
2015-05-14 11:33:31 +00:00
fanf
15fa2921aa
Bump whois(1) date.
...
(Thanks to bz@ for the reminder!)
2015-05-14 11:25:18 +00:00
fanf
961e7533e1
whois: alphabetize whois server list
2015-05-14 10:33:51 +00:00
fanf
18c4720eef
whois: do not clobber command-line flags when tweaking O_NONBLOCK
...
This can make whois fail to follow referrals when it should.
The bug was introduced in r281959.
2015-05-14 10:33:33 +00:00
fanf
8fd803db87
whois: try whois.nic.TLD if TLD.whois-servers.net does not exist
...
Based on an idea from OpenBSD.
2015-05-14 10:33:01 +00:00
fanf
da775e97f7
whois: check WHOIS_SERVER as well as RA_SERVER environment variables
...
WHOIS_SERVER is used by Debian's whois client.
2015-05-14 10:32:35 +00:00
fanf
426168849a
whois: code cleanup
...
Remove deprecated options.
Use pedantically correct types.
2015-05-14 10:32:05 +00:00
fanf
1e9ac2722e
whois: special case certain query suffixes
...
This extends the existing support for -NORID handles
to include -NICAT, -ARIN, and -RIPE handles.
The suffix machinery is also used to work around a problem with
lack of referrals from the Nominet server for .uk: names under
.ac.uk need to be queried directly at JANET's whois server.
2015-05-14 10:31:37 +00:00
fanf
9a041aa829
Clean up whois manual.
...
Document the RA_SERVER environment variable.
Remove the obsolete -R option, and discourage people from trying
to use the Network Solutions server.
Describe the default behaviour in the DESCRIPTION section,
not buried in the options.
2015-05-14 10:30:37 +00:00
sjg
bc53a56c01
Merge bmake-20150505 improve detection of malformed conditionals.
2015-05-10 22:03:59 +00:00
bapt
8bdd359838
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
bapt
326a669c75
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
bapt
22040d2a98
Reduce the size to 64 for the commands, 512 was way too large for the purpose
...
Noticed by: julian
2015-05-07 21:30:29 +00:00
glebius
f9e194c452
Printing interface names:
...
o Restore historical behaviour of appending '*' if interface is down,
and we have enough space to print it (usually we don't). [1]
o Do not truncate interface names when printing in encoded format.
o Report interface flags into encoded format.
PR: 199873 [1]
Sponsored by: Nginx, Inc.
2015-05-06 16:43:44 +00:00
bapt
87da24f6db
Enlarge the buffer for storing macros as some macros can be longer than 5
2015-05-05 09:54:47 +00:00
bapt
fcab16a373
Update the list of known roff commands (adding the mdoc package)
...
Obtained from: NetBSD
2015-05-05 09:50:21 +00:00
bapt
dd5948751d
Properly assign open and close brackets and checks memory
...
Obtained from: NetBSD
2015-05-05 09:33:32 +00:00
bapt
8224924ecc
Ensure we read existing values of the stk table
...
Obtained from: NetBSD
2015-05-05 09:29:32 +00:00
bapt
a7c69e6c58
Use stdup(3) and check its return instead from homebrew version using strcpy(3)
...
and malloc(3)
Obtained from: NetBSD
2015-05-05 09:26:32 +00:00
bapt
7517f3fab7
cosmetic fixes
...
Obtained from: NetBSD
2015-05-05 09:24:29 +00:00
bapt
d9e656c586
Apply seom style(9) fixes from NetBSD
...
Obtained from: NetBSD
2015-05-05 09:01:42 +00:00
bapt
41ce620053
Prevent useless use of strdup(3)
...
Obtained from: NetBSD
2015-05-05 08:25:25 +00:00
bapt
de72406be4
Replace homebrewed NIL by NULL
2015-05-05 08:17:40 +00:00
bapt
c5d7e189d1
Use stdbool instead of homebrewed boolean
2015-05-05 08:15:10 +00:00
bapt
09ff591b15
Another function to ansify
2015-05-05 07:52:41 +00:00
bapt
1627eefffa
Remove unused variables
2015-05-05 07:51:57 +00:00
bapt
0c925e0867
Explicitly use O_RDONLY instead of 0
2015-05-05 07:49:46 +00:00
bapt
642b9f5173
Use strlcpy(3) instead of strcpy(3)
2015-05-05 07:47:36 +00:00
bapt
a0da5a4be4
upper the warning level to 3
2015-05-05 07:42:40 +00:00