Age | Commit message (Collapse) | Author |
|
Save 2 bytes of newlines.
OK joris@
|
|
|
|
|
|
that can be printed. This makes apm(8) act the same whether talking
to apmd(8) or directly to a (potentially non-functioning) /dev/apm.
ok kettenis
|
|
|
|
|
|
|
|
if_msghdr, etc. they only share the first 3 fields, and then differ.
this leads to a bug in RTM_IFINFO handling. We did abort on
rtm->rtm_errno != 0,
but if_msghdr has no errno, so we look at something in the data part
instead. Surprising that this didn't bite us before!
So we must only do these checks for RTM_ADD/CHANGE/DELETE that actually
use rt_msghdr.
found whiel checking strange behaviour tony sarendal <dualcyclone@gmail.com>
saw, and then totally strange behaviour on my amd64 hackbox. claudio ok
|
|
help and ok henning@ jmc@
|
|
|
|
|
|
|
|
attribute cache. Instead remove attribute and readd it after beeing changed.
This should fix the "att_diff: equal attributes encountered" error seen by
Tony Sarendal. OK henning@
|
|
|
|
pthreads header changed, char * -> const char *
|
|
ok beck@
|
|
ok henning claudio
|
|
|
|
description lifted from kill(2), as pointed out by deraadt
ok deraadt
|
|
flag, it calls one of two new functions: rcs_setrevstr() or
rcs_setrevstr2(). rcs_setrevstr() sets a string to another string,
and complains if it was set more than once. rcs_setrevstr2() takes
two strings, sets one after the other, and fatal()s if more than
two strings were given.
All <rev> handling is now done in the loop that goes through each
argv. This is necessary for parsing symbols, which will be much
easier after this.
Along the way a lot of memory leaks were cleaned up. There is one
area where rcs_set_rev() is called, which allocates a RCSNUM and
stores it in pb.newrev, but it segfaults whenever I try to rcsnum_free()
it. I put an /* XXX */ comment there for now.
Passes regression tests and the code is less complicated in some
ways (to me).
Suggestions and OK xsa@
|
|
OK xsa@
|
|
from the work loop. instead it should break from it so the spl can be
lowered and any work that has been done can be counted. this fixes
interrupt counting at least, and possibly issues related to leaving splnet
raised..
ok deraadt@
|
|
|
|
Found by Florin Iamandi <florin dot i at tiscali dot it>.
OK tedu@ and deraadt@
|
|
kernels and old tools are safe.
i'm leaving in the "updated" flag, so that fsck will continue to remove
it from filesystems. the kernel no longer attempts to upgrade
superblocks and will use the old format.
post-mortem discussions have concluded that maybe jamming ffs2 fields
into random locations in the superblock is asking for trouble, and we
need to talk about this some more. my bad for not thinking fast enough.
|
|
Spotted by NetBSD Coverity CID 1603, improvements by jaredy@ and
otto@.
OK otto@ and millert@
|
|
OK jaredy@
|
|
|
|
device. previously this was only done at config time, so vlan if's baudrate
could easily get out of sync with parent's. ok camield brad
|
|
|
|
|
|
|
|
and xsa@ finally convinced me this is safe (and better).
OK joris@, niallo@, and xsa@.
|
|
OK joris@, niallo@, and xsa@.
|
|
|
|
|
|
detected at attach time, currently unused.
ok marco@
|
|
appropriate time in acpi_enter_sleep_state().
ok marco@
|
|
just use xrealloc, since it handles the case of an unallocated
buffer anyway. (b->cb_buf should be NULL if the space is unallocated.)
``Tested & looks OK to'' niallo@.
|
|
|
|
|
|
|
|
|
|
to the worklist of temporary files.
this way we definatly don't leave any files behind in /tmp.
tested & okay niallo@
|
|
it like cvs_buf_write()
- print warning on fchmod() failure (suggested by ray)
ok joris@ ray@
|
|
doesn't trigger security(8)'s ownership checks. ok bob@
|
|
tobias@bugol.de. fix written by me
|
|
ways to determine the actual voltage multipliers, so move to a table
driven model, which we can tweak as we see more varients. checked
by kettenis jolan and roman
|
|
note that openrcs still lacks some features.
okay niallo@, xsa@, ray@, "Do it" deraadt@
|
|
|