| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
| |
Document that getopt_long(3) can and will accept unique abbreviated long
option names. This feature has been present since getopt_long(3) was first
released in NetBSD 1.5. This is also standard GNU getopt_long(3) behavior.
ok millert
|
|
|
|
| |
from FreeBSD. With help from jmc@.
|
| |
|
|
|
|
| |
some time ago--it caused too many problems.
|
|
|
|
| |
done by arc4random(); ok millert@ deraadt@
|
| |
|
|
|
|
| |
ok jmc@
|
| |
|
|
|
|
| |
in low-mem conditions; ok dim@
|
|
|
|
|
|
| |
<molivier at users dot sourceforge dot net>
ok jmc@ mickey@
|
|
|
|
| |
includes used a bit later (for instance on the vax)
|
|
|
|
|
| |
codebase. tested mostly by ckuethe and myself. __dtoa() use now requires
a call to __freedtoa()
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
create special allocators for pginfo and pgfree structs instead of imalloc.
this keeps them separated from application memory.
for chunks, to prevent deterministic reuse, keep a small array
and swizzle the to be freed chunk with a random previously freed chunk.
this last bit only for chunks because keeping arbitrarily large regions
of pages around may cause out of memory issues (and pages are, to some
extent, returned in random order).
all changes enabled by default.
thanks to ben for pointing out these issues.
ok tech@
|
| |
|
| |
|
| |
|
|
|
|
| |
own brains out, and then takes lint down with it. To be investigated...
|
| |
|
|
|
|
|
|
| |
Log Message:
Switch from 4-clause to 2-clause BSD license.
Ok dillo@, board@.
|
|
|
|
|
|
| |
detctecion of underflow where it would otherwise not happen for FPUs
that have a larger register size than sizeof double (i386, m68k). ok
deraadt@ weingart@ kettenis@
|
|
|
|
|
|
|
|
|
| |
flag from its optional argument if permutation is disabled. The
idea was that since "r:" would match "-r foo" then "r::" should
match "-r foo" too as long as we know that things have not been
reshuffled. Unfortunately, this causes incompatibilities with GNU
getopt_long when the POSIXLY_CORRECT environment variable is set.
OK deraadt@
|
|
|
|
| |
descriptive while at it, input and okay jmc@
|
|
|
|
| |
ok miod@, tedu@, pedro@
|
|
|
|
|
|
| |
requires memory; try to make sure we have it. If all fails, leak
instead of crash. Test case originally found by cloder@, fix tested
by many.
|
|
|
|
| |
spotted by ray some time ago
|
|
|
|
|
|
|
| |
region succeeds, but allocation a required page dir failed. This
can happen if we're really close to ulimit after allocation the
region of the size requested. See malloc_ulimit1 regress test.
Tested by many; thanks.
|
|
|
|
| |
tested by quite a few developers. ok deraadt@
|
|
|
|
|
|
| |
root node doesn't have a parent, and POSIX does not say what should be
done in that case. Warn developers that different implementations
may do different things.
|
|
|
|
|
|
|
|
|
|
| |
pointer to the freed root node, but return a pointer to the new
root node. POSIX does not define, what should be returned in
that case.
Fixes Coverity CID 2528.
ok millert@ otto@
|
|
|
|
| |
remove redundant check on size. ok millert@ deraadt@
|
|
|
|
| |
ok jmc@ otto@
|
|
|
|
|
|
|
|
| |
or if malloc must be used suggest check.
Get rid of "one".
OK deraadt@ and jmc@, OK kjell@ to earlier version with "one"s.
|
|
|
|
|
|
| |
David Hill's diffs.
ok otto
|
|
|
|
|
| |
originally reported by Gergely Kovacs; help from dhartmei@;
ok tedu@ millert@
|
|
|
|
| |
`looks to be safe' millert, okay tedu.
|
|
|
|
| |
fixes pr #4996, from joachim schipper;
|
|
|
|
| |
"yes, that is correct." jmc@ (a while back)
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Remove an extraneous check for dtoa returning Inf/Nan
|
| |
|
|
|
|
|
|
|
| |
Decimal point was missing for some exponential output
Only divide sign by 10 once per loop
Add a missing NUL terminator for one case
If there is no whole number portion, print a leading zero (e.g. 0.1 not .1)
|
| |
|
|
|
|
|
|
|
| |
and remove fallback code. If somebody is dumb enough to make the
sysctl fail using systrace, he deserves what he gets. Saves 7 syscalls
on process startup.
looks good miod@ ok deraadt@ tedu@
|
| |
|
| |
|
|
|
|
| |
tweaked by tedu@ and myself;
|