riastradh
ae6fa52c2a
More useful array bounds check for enum values.
2016-02-05 23:49:26 +00:00
riastradh
c16e1a78e3
Omit unused definition of readw.
2016-02-05 23:46:40 +00:00
riastradh
74d7cf9b83
Don't ask `size < 0' when size is unsigned.
2016-02-05 23:45:44 +00:00
riastradh
8e1ee72c35
Need nbtool_config.h for __dead in tools.
2016-02-05 20:39:50 +00:00
riastradh
32e3d5d381
Need nbtools_config.h for __unused.
...
Fixes
.../src/tools/ctfmerge/../../external/cddl/osnet/dist/tools/ctf/common/list.c:73:47: error: expected ';', ',' or ')' before '__unused'
list_defcmp(void *d1, void *d2, void *private __unused)
^~~~~~~~
on non-NetBSD systems, where <assert.h>, <stdlib.h>, <stdio.h>, and
<sys/types.h> don't define __unused.
2016-02-05 19:56:00 +00:00
roy
e0e130b7f2
World+dog want to treat rdl_path as char, so make it so.
2016-02-05 17:20:54 +00:00
skrll
178de58605
Use the port status straight after the reset and not after the
...
usbd_clear_port_feature(dev, port, UHF_C_PORT_RESET)
The Gadget USB HUB in the IBM x3250 sborrill sent me returns the wrong
status and this would appear to leave the attached cdce(4) in the default
state. The next device probed fails as a result.
2016-02-05 15:41:49 +00:00
roy
51cc62e4dc
Fix is defined in wpa_common.h which the driver already pulls in.
2016-02-05 15:05:29 +00:00
msaitoh
0fce7fa801
s/max/ralmax/. No functional change.
2016-02-05 13:06:24 +00:00
roy
af0a4ca738
Only build tests if MKATF != no
2016-02-05 10:16:12 +00:00
roy
871759c0d7
Fix the actual issue rather than silencing the warning.
...
Thanks to gson@
2016-02-05 10:14:49 +00:00
christos
54eb2755d8
PR/50744: NONAKA Kimihiro: Protect more stuff with _KERNEL && _KMEMUSER to
...
make uvm_extern.h compile standalone again for net-snmp.
2016-02-05 04:18:55 +00:00
nonaka
a3255ab05b
Initialize the token match pointer.
2016-02-05 03:41:05 +00:00
dholland
289d830c55
File watt in the right group, and accept W as well, as that's quite
...
standard.
2016-02-05 03:38:50 +00:00
dholland
ac57bd7b30
Improve previous slightly; while we accept e.g. "meter2" to mean "meter^2",
...
don't allow "meter-2" to be interpreted as "meter^-2" as that's very
confusing.
2016-02-05 03:32:49 +00:00
dholland
0561f14b04
Improve the parser. Now we understand negative exponents; fixes PR 50768.
...
Also handle negative numbers better in general (don't randomly drop
the sign in a number of cases) and don't choke on exponents > 9.
This commit alters the meaning of a few previously valid but marginal
inputs (e.g. "3 foot-5 pound" is now treated as "3*-5 foot-pound"
rather than "3*5 foot-pound"; if you want the latter insert another
space) but corrects obviously wrong handling of many more.
2016-02-05 03:30:08 +00:00
knakahara
3bf8089a9a
fix: "vmstat -C" CpuLayer showed only the last cpu values.
2016-02-05 03:04:52 +00:00
roy
f4a5ac8842
Add -Wno-format-nonliteral
2016-02-04 21:26:48 +00:00
roy
5baa0e8c89
dtrace needs Wno-format-security for clang it seems.
2016-02-04 20:06:29 +00:00
roy
a118806971
Add some __printflike and __dead love. Init some structs fully.
2016-02-04 20:05:53 +00:00
roy
80df5a39da
Fix build.
2016-02-04 18:47:14 +00:00
roy
440c6b2902
Mark more functions as __printflike and __dead.
2016-02-04 18:46:37 +00:00
roy
5e1375a115
Mark more functions as __dead.
2016-02-04 17:47:43 +00:00
roy
dd3d664f77
Disable -Wformat-nonliteral here to build.
2016-02-04 17:42:34 +00:00
roy
1e48e626cd
More printflike and dead fixes.
2016-02-04 17:40:55 +00:00
roy
985adb8dc0
Fix printf formats and casts.
2016-02-04 17:27:32 +00:00
roy
b9ae60933c
Correct a prior patch by moving __printflike marking from the .c files
...
to the .h ones.
2016-02-04 16:58:11 +00:00
roy
b31be80ab9
Mark __printflike and __dead.
2016-02-04 16:48:34 +00:00
roy
c29f38a653
Mark printflike functions as __printflike.
2016-02-04 15:23:29 +00:00
seanb
8436ef0286
- Avoid uninitialized variable usage in do_nologin() when HAVE_LOGIN_CAP
...
isn't defined (which doesn't apply to NetBSD but...) and a root
login is being evaluated.
- From upstream.
2016-02-04 15:04:11 +00:00
riastradh
3bc04b00b8
Declare in6_tmpaddrtimer_ch in in6_var.h.
...
Do not declare extern variables in .c files!
2016-02-04 02:48:37 +00:00
christos
8f19963904
Regen the rest.
2016-02-04 00:32:33 +00:00
christos
822f295450
regen some more.
2016-02-03 22:13:36 +00:00
palle
cd467f86fe
sun4v: extend dmmu_set_secondary_context() to handle both sun4u and sun4v. ok martin@
2016-02-03 20:33:52 +00:00
christos
369d5ded30
define _KERNTYPES
2016-02-03 19:03:50 +00:00
christos
f608f02455
define _KMEMUSER earlier for mips
2016-02-03 19:03:40 +00:00
riz
c1e4fb302e
Adapt getmajor and getminor signatures for NetBSD.
2016-02-03 17:50:12 +00:00
christos
523945ce28
switch i386 to gdb-7.10.1
2016-02-03 15:28:02 +00:00
christos
51676f91e0
regen i386
2016-02-03 15:27:08 +00:00
martin
be2b75ed4e
New rawrite32 version out (small bugfixes)
2016-02-03 15:06:25 +00:00
skrll
771ca2e884
Fix mergo
2016-02-03 13:24:12 +00:00
christos
e612b1d7f8
PR/50751: David Binderman: check bounds before dereferencing.
2016-02-03 05:34:21 +00:00
christos
24830f9883
PR/50750: David Binderman: Check bounds before dereference
2016-02-03 05:32:14 +00:00
christos
9e5e0b5731
PR/50749: David Binderman: check bounds before dereference.
2016-02-03 05:29:43 +00:00
christos
ba3275f8a0
PR/50748: David Binderman: check bounds before dereference
2016-02-03 05:27:53 +00:00
christos
ac40619997
PR/50747: David Binderman: check bounds before dereference.
...
While here add some continues before semicolons.
2016-02-03 05:26:16 +00:00
christos
cdc14da57c
PR/50746: David Binderman: Check bounds before dereferencing.
2016-02-03 05:18:58 +00:00
christos
28342b84d6
switch amd64 to gdb-7.10.1
2016-02-03 03:26:02 +00:00
christos
53f9039fdd
regen amd64
2016-02-03 03:24:33 +00:00
christos
7a93e43ba4
merge conflicts
2016-02-03 03:23:27 +00:00