christos
2a2d5d2e0a
revert weak change. next time point to an example of what breaks in the
...
commit message.
2016-05-31 20:40:51 +00:00
christos
53bd6909de
Add an ElfW() macro like linux.
2016-05-31 20:02:16 +00:00
christos
94b4dd721e
remove the right history entry (Ingo Schwarze)
2016-05-31 19:25:17 +00:00
abhinav
ad8c33366b
Add the missing parameter "const char *pattern" to the fetchList* functions.
...
From Julian Fagir in PR lib/45579
2016-05-31 16:26:47 +00:00
pgoyette
596954117f
Minor formatting change in swapctl -l as noted in my PR bin/51155
2016-05-31 09:34:25 +00:00
wiz
b17d0f9679
Punctuation nits.
...
(adding space makes sure they are not marked up)
2016-05-31 09:31:13 +00:00
pgoyette
66c6aeeb7a
Add prop_array_add_cstring{,_no_copy} utility functions as suggested in
...
PR lib/46723 using the patch provided. (Header file updates are mine.)
2016-05-31 09:29:25 +00:00
mlelstv
9a4c3fd1cc
Flush memory correctly during ring put.
...
See PR 51199.
From Sprow, ok skrll@.
2016-05-31 09:22:11 +00:00
wiz
e52839f4c3
Remove trailing whitespace.
2016-05-31 08:24:43 +00:00
pgoyette
d2c5329790
Use calloc(1, ...) instead of malloc(...) followed immediately by memset()
...
Addresses PR lib/46818
2016-05-31 07:49:09 +00:00
pgoyette
ed42ce54d9
Move __MKTEMP_OK up earlier so it has an actual impact. Reduces the
...
number of warnings during build.
XXX There are still some other warnings remaining to be resolved.
Fixes PR bin/48195 although we really should go back someday and fix
this correctly (by replacing all uses of mktemp(3)!)
2016-05-31 06:55:02 +00:00
pgoyette
7554718da8
Correct list of operations to note that SLISTs and SIMPLEQs cannot insert
...
entries before existing entries. This can only be done for LISTs and
TAILQs.
Fixes PR kern/50845
2016-05-31 06:00:38 +00:00
pgoyette
7bdbb58b22
Add a new kern.messages sysctl to allow kernel message verbosity to be
...
altered after boot.
Fixes PR kern/46539 using patch submitted by Nat Sloss.
2016-05-31 05:44:19 +00:00
dholland
e992e1f829
PR 51196 David Binderman: simplify redundant conditional.
...
(yet another copy)
2016-05-31 04:14:12 +00:00
dholland
371fed6f5e
PR 51195 David Binderman: simplify redundant conditional.
...
XXX: there are too many copies of this function floating around ("gettrailer")
2016-05-31 04:13:26 +00:00
dholland
f56f9deac4
PR 51194 David Binderman: simplify redundant conditional
2016-05-31 04:12:10 +00:00
dholland
e5e22563a1
PR 51193 David Binderman: simplify redundant conditional.
2016-05-31 04:05:50 +00:00
ozaki-r
0c85f1e532
Optimize if_get_byindex by adding __predict_true
2016-05-31 04:05:01 +00:00
pgoyette
b847d6b87c
Compare names of duplicate symbols properly, so we correctly return
...
an error status.
Fixes PR kern/45125 with patch supplied by Akinobu Mita
2016-05-31 03:57:04 +00:00
knakahara
d60d8acaf7
modify some functions static. no functional change.
2016-05-31 03:52:40 +00:00
dholland
10fabf6382
If ALGOR_P6032 is not defined, set sc_bonito to NULL instead of using
...
random garbage off the stack. PR 51012 from David Binderman.
2016-05-31 03:51:55 +00:00
macallan
a3f93c3108
fix stupid tpyo
...
thanks chuq
2016-05-31 03:50:30 +00:00
dholland
7dae429fbd
PR 51003 David Binderman: bzero struct before passing it around.
...
This is actually unnecessary as the call in question uses only fields
that have been set explicitly, but good practice regardless and it's
not like it's on a performance-critical path.
2016-05-31 03:47:49 +00:00
dholland
39a10a6851
PR 51002 David Binderman: fix wrong printing code not enabled by default.
2016-05-31 03:43:10 +00:00
dholland
6413fb5a5d
PR 51000 David Binderman: comment out unused assignment
2016-05-31 03:34:14 +00:00
dholland
07c23da28f
Don't use the length return from snprintf to write out the result
...
buffer. If snprintf truncated the output, the length returned will be
greater and we'll write trash. Just call strlen instead. (And since
what we're doing is writing progress messages to the user, checking
carefully for truncation isn't really worthwhile either.)
Spotted when attending to PR 50998 from David Binderman; the issue
there (computation of an unused value) popped up because one of the
prints was already calling strlen.
2016-05-31 03:32:36 +00:00
dholland
aaa3b0be84
PR 50792 David Binderman: make sure we don't divide by zero.
...
The loop that picks delay_divisor might conceivably reject all values,
particularly if the hardware is sulking for some reason; in that case
it'll be left zero. Use 1 instead of 0 so we don't then crash.
2016-05-31 03:25:46 +00:00
dholland
3e87dc22c2
PR 50759 David Binderman: fix out of bounds array access.
...
If we don't find one of the expected device addresses, reject the
match, but do it by checking whether the loop matched something rather
than by testing an array entry that might be one past the end.
Note: I have also moved the test to be with the loop; since the call
to intio_map_allocate_region had gotten placed in between them, I've
moved it to go before rather than after them as (a) it doesn't
interact with the loop itself and (b) this seems like the best choice
given the history as it was deliberately added before the original
test.
I have not tried running this, not having an x68k, but as best I can
tell by reading the intio code it seems like it should be harmless
even if it's not really correct.
2016-05-31 03:22:30 +00:00
dholland
06607d557a
fix flagrantly wrong indent
2016-05-31 03:12:49 +00:00
dholland
f8610727d2
Disable the code that tries to prepare a new partition table (but doesn't
...
do anything with it...) because it's zooming off the end of the array it's
trying to use.
It looks to me as if NEW_MAP_SIZE has been accidentally used as both
the number of blocks occupied by the new partition table and also the
number of entries in it. Or something. This needs platform knowledge
to sort out. XXX.
Workaround for PR 50757.
2016-05-31 02:49:50 +00:00
pgoyette
9c7632e4a7
Add entries for fonts.conf.{0,5,html}
...
Finishes PR xsrc/49777
2016-05-31 02:37:15 +00:00
pgoyette
a47b5fd6a6
Install man-link from fonts-conf.5 --> fonts.conf.5 to deal with an
...
erroneous cross-ref in xclock's man-page. suggested by wiz@.
Fixes PR xsrc/49777
2016-05-31 02:35:49 +00:00
dholland
dea44b9dd8
PR 50756 David Binderman: avoid running off the end of an array in case
...
thing we're looking for isn't there. Which is probably impossible, but
that's not obvious.
2016-05-31 02:29:54 +00:00
dholland
ffe3284377
PR 50755 David Binderman: assert about table entries only when they exist.
2016-05-31 02:26:00 +00:00
macallan
a1f15ec7cc
make sure we call sysmon_pswitch_event() from thread context
2016-05-31 02:17:18 +00:00
christos
79332b813c
Handle PIC linking for tests
2016-05-30 22:58:52 +00:00
joerg
1203c26a96
Add printf-like annotation.
2016-05-30 22:02:41 +00:00
mlelstv
44b25f2fac
mark noreturn function exit_daemon() as __dead
2016-05-30 21:58:32 +00:00
abhinav
c995cb6b03
Add 'a' to the stopwords list. Ok from christos
2016-05-30 19:35:29 +00:00
christos
e9a9a47d86
Make sure that all messages end in '\n' in make_message_rcsvalid() and
...
compensate for it in add_rcs_file().
2016-05-30 17:49:51 +00:00
dholland
6b93d6fdd7
PR 51190 David Binderman: simplify redundant conditionals.
...
Also add paranoia when looping on isdigit().
2016-05-30 17:48:29 +00:00
dholland
98cc967daa
PR 51187 David Binderman: simplify redundant conditional
2016-05-30 17:45:26 +00:00
dholland
7f333b5d4c
If MEMSIZE isn't set, #error instead of proceeding using uninitialized
...
stack garbage as the memory size. Please improve as needed; I don't know
anything about this hardware.
PR 51150 from David Binderman.
2016-05-30 17:43:46 +00:00
dholland
c1c801b64b
Remove undefined behavior in buf(); use buf() as intended in intarg().
...
While here also add includes to fix the build. Retires PR 50999 from
David Binderman.
2016-05-30 17:34:35 +00:00
dholland
067a182606
PR 50997 David Binderman: fix format strings
2016-05-30 17:26:29 +00:00
dholland
2c888f6181
PR 50709 David Binderman: memory leak
2016-05-30 17:21:07 +00:00
dholland
4a6aecfb76
PR 50669 David Binderman: remove dead code
2016-05-30 17:18:38 +00:00
dholland
f728cfb218
PR 50643 David Binderman: fix conditional order
2016-05-30 17:11:56 +00:00
dholland
d9a33fbe91
Explicitly ignore errors in the hack for mucking with wedges; mark it XXX
...
for future attention. Other part of PR 50886 from David Binderman.
2016-05-30 17:03:21 +00:00
dholland
ccc5db6204
#if out some unreachable code that's apparently not yet supported.
...
PR 50886 from David Binderman.
2016-05-30 17:00:38 +00:00