christos
421f456123
Don't include <sys/vnode.h> to get the pager constants.
2016-01-23 16:39:31 +00:00
christos
ffb42684fe
don't use kernel types.
2016-01-23 14:02:21 +00:00
dholland
2a52e0ce6c
MAXNAMLEN, not MAXNAMELEN. From Giuseppe Gatta on netbsd-docs.
2016-01-23 08:17:18 +00:00
wiz
48a57620e7
unsigned -> unsigned int
2016-01-23 07:21:18 +00:00
dholland
398f572480
Apparently a recent round of vandalism by the C++ standards committee
...
includes disallowing the standard and historic type name "unsigned". Add
a gratuitous "int" to recent changes.
C++ is really a blight on the world.
2016-01-23 01:26:14 +00:00
dholland
65f8003146
Update synopses to match u_int/u_long/etc. changes. Do not bump date as
...
it's not a substantive change.
2016-01-23 00:43:42 +00:00
dholland
fd9823afae
Uses __BEGIN_DECLS so needs sys/cdefs.h; also needs stdint.h.
...
And, while here, add missing include guard.
2016-01-22 23:51:23 +00:00
dholland
e9e4a6c4b0
Uses FILE *, needs stdio.h.
2016-01-22 23:25:51 +00:00
dholland
f4816d95e4
Needs stdint.h.
2016-01-22 22:39:29 +00:00
dholland
f6f5ee7dea
Needs sys/cdefs.h for __BEGIN_DECLS and sys/types.h for mode_t.
2016-01-22 22:25:50 +00:00
dholland
5d13788b5e
u_int -> unsigned; also requires stddef.h and stdint.h to be compilable.
2016-01-22 22:22:48 +00:00
dholland
89567fa520
The actual header file for these functions is dm.h, not libdm.h.
...
Bump date.
2016-01-22 22:12:40 +00:00
dholland
dd39275be6
- Has __BEGIN_DECLS so needs sys/cdefs.h;
...
- Needs stddef.h and stdint.h to be compilable on its own
2016-01-22 22:11:28 +00:00
wiz
e1f3670be7
Try to reduce singular/plural confusion. Use more markup.
2016-01-22 10:58:39 +00:00
pgoyette
1d24ee4c01
Improved wording.
2016-01-22 09:32:50 +00:00
plunky
aae8472c42
correct comment in literal section
2016-01-22 08:51:40 +00:00
plunky
3afdcf10ba
clarify closing of descriptor returned by dirfd(3)
2016-01-22 08:50:00 +00:00
zafer
b8492eb072
fix typo.
2016-01-22 03:38:57 +00:00
christos
e17fe16cac
Don't return NULL when we are freeing the root node; return a free'd pointer
...
instead.
2016-01-20 20:47:41 +00:00
christos
801bf996c3
Add support for Windows I{32,64} formats from Jason Hood via file(1).
2016-01-20 15:43:05 +00:00
christos
2e3cfa464e
PR/50681: Markiyan Kushnir: Fix memory leak when we delete the root node.
...
It is questionable if we should return NULL in that case, but what is the
parent of root? The new adjusted root?
2016-01-20 15:31:55 +00:00
christos
6510a8eabd
modernize.
2016-01-16 21:31:38 +00:00
christos
5a327b6e14
fix typo
2016-01-16 21:29:33 +00:00
christos
370ae5dba9
PR/50660: David Binderman: bad calls to printf, in test part
2016-01-16 19:44:05 +00:00
christos
acccbba8bc
catch up with regsub -> regnsub
2016-01-14 22:06:42 +00:00
christos
baf7db8b0f
rename to regnsub, regsub is a very popular name.
2016-01-14 21:45:01 +00:00
christos
f7bf81e728
stravis, reg{,a}sub
2016-01-14 20:42:29 +00:00
christos
4c892c323a
add reg{,a}sub
2016-01-14 20:41:47 +00:00
christos
607e9de17b
add stravis(3) from OpenBSD
2016-01-14 20:41:23 +00:00
christos
26492c8912
switch to the external version of libmalloc
2016-01-13 21:57:26 +00:00
christos
caa46aef53
fix lint build
2016-01-11 01:34:39 +00:00
jdc
b120305be0
Clear the "forced" flag after updating a line, otherwise we'll always do
...
complete line redraws.
2016-01-10 08:11:06 +00:00
jdc
dfb25fd120
Remove extra new line in debugging output.
2016-01-09 19:05:13 +00:00
jakllsch
d804fd3f29
Fix buffer-overrun/off-by-one in hid_set_data(3).
...
(The tests only detected this as a problem on ARMv7, not i386.)
2016-01-07 19:49:45 +00:00
jakllsch
f9e98a931a
Don't crash when the device's HID Report Descriptor Pops from an empty stack.
2016-01-07 16:10:49 +00:00
jdc
210cd3d8d9
Display force flag in debug print.
2016-01-07 07:37:08 +00:00
jdc
3c6f106b95
Add missing new line in debug print.
2016-01-07 07:36:35 +00:00
christos
8ec658f57a
- Change LDADD/DPADD in library dependencies to LIBDPLIBS
...
- Fix some LDADD abuse and remove useless dependencies
- include <bsd.init.mk> in the right place where appropriate
From Rin Okuyama
2016-01-05 13:07:46 +00:00
christos
10deb451c0
minor type fixes.
2016-01-02 21:58:10 +00:00
jakllsch
aaf9a4516d
Teach hid_parse_usage_in_page() how to understand hex literals, in
...
addition to the usual table lookup.
2016-01-02 01:24:44 +00:00
jakllsch
f5863ab3d2
Fix round-trip of hid_usage_in_page(hid_parse_usage_in_page()) when
...
the usage is a catch-all format string.
This should allow usbhidctl(1) to understand an item argument of
"Button:Button_65535".
2016-01-02 01:04:15 +00:00
jakllsch
c8b0c3452c
Fix hid_get_data() for negative or 32-bit report data.
2016-01-01 22:59:12 +00:00
jakllsch
f74c09dad4
Alphanumeric is spelled Alphanumeric
2016-01-01 19:14:45 +00:00
jakllsch
f8ec6d43b4
compare pointer against NULL instead of 0
2015-12-31 20:35:21 +00:00
christos
3f38d7cad6
Move blacklistd later now that it depends on libpthread (From Rin Okuyama)
2015-12-31 20:11:32 +00:00
dholland
4f3e8539c0
When computing relative months, use mktime() directly and don't call
...
our Convert(). And check it for failure. This fixes three sets of
problems:
(1) depending on the passed-in value of Timezone it might
disassemble the time in one timezone and reassemble it in
another, causing mysterious offsets of a few hours;
(2) with the previous set of changes to this file, Convert() fails
if it ends up normalizing a date, so e.g. going three months
forward from March 31 would fail;
(3) previously if Convert() failed we passed -1 on to DSTcorrect(),
which made a mess.
PR 50574.
2015-12-31 10:52:06 +00:00
dholland
2213a9c409
Always use localtime_r; I don't think any of this code is tripping
...
itself up, but it's still good practice for library functions to not
trash static libc state. Might be relevant to PR 50574.
2015-12-31 10:31:07 +00:00
dholland
4c7b8eec63
Reformat grammar part according to my standards for yacc grammars.
2015-12-31 09:12:57 +00:00
wiz
b02bef0817
Fix xrefs.
2015-12-30 16:51:31 +00:00
plunky
ea8091c08e
point to more information about clock_id
2015-12-30 16:47:24 +00:00