| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
problems in cases where regions are faked up for the purposes of red-black
tree searches, since those faked region headers reside on the stack, rather
than in a malloc chunk.
|
| |
|
|
|
|
|
| |
internal allocation does not rely on recursive arena use (base_arena was
removed in revision 1.95).
|
|
|
|
| |
Reported by: ache
|
|
|
|
|
|
|
|
| |
allowing the error to be fatal.
Move a label in order to make sure to properly handle errors in malloc(0).
Reported by: Alastair D'Silva, Saneto Takanori
|
|
|
|
|
|
|
|
|
|
| |
there is never any need to recursively call the main allocation functions.
Remove recursive spinlock support, since it is no longer needed.
Allow chunks to be as small as the page size.
Correctly propagate OOM errors from arena_new().
|
|
|
|
|
|
|
|
|
| |
broken for non-threaded shared processes in that __tls_get_addr()
assumes the thread pointer is always initialized. This is not the
case. When arenas_map is referenced in choose_arena() and it is
defined as a thread-local variable, it will result in a SIGSEGV.
PR: ia64/91846 (describes the TLS/ia64 bug).
|
|
|
|
|
|
|
| |
a scalable concurrent allocator implementation.
Reviewed by: current@
Approved by: phk, markm (mentor)
|
|
|
|
| |
Reported by: glebius
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add posix_memalign().
* Move calloc() from calloc.c to malloc.c. Add a calloc() implementation in
rtld-elf in order to make the loader happy (even though calloc() isn't
used in rtld-elf).
* Add _malloc_prefork() and _malloc_postfork(), and use them instead of
directly manipulating __malloc_lock.
Approved by: phk, markm (mentor)
|
|
|
|
|
|
|
|
| |
between a 32-bit integer and a radix-64 ASCII string. The l64a_r() function
is a NetBSD addition.
PR: 51209 (based on submission, but very different)
Reviewed by: bde, ru
|
| |
|
|
|
|
| |
the function definition.
|
|
|
|
| |
stdio/ and stdlib/. Don't define __cleanup twice.
|
|
|
|
|
|
|
|
|
|
|
|
| |
a tty device instead of the legacy minor number approach. This is known to
fix gnome-vfs' sftp module as well as kio_sftp and kdesu on -CURRENT.
Thanks to scottl for the snprintf() approach idea.
Reviewed by: phk
Tested by: pav
mich
Approved by: re (scottl)
|
| |
|
|
|
|
|
|
|
|
|
| |
surrounding the undef'ing it. It does not seem necessary to
undef some symbol that is not exist, and gcc does not complain
about whether a symbol is exist before #undef'ing it out.
Spotted by: mingyanguo via ChinaUnix.net forum
Reviewed by: phk
|
|
|
|
|
|
| |
is not portable.
Asked by: joerg
|
|
|
|
| |
Noted by: bde
|
|
|
|
|
|
|
|
|
|
| |
really so.
"If the value of base is 16, the characters 0x or 0X may optionally
precede the sequence of letters and digits, following the sign if
present."
Found by: joerg
|
| |
|
| |
|
|
|
|
|
|
| |
PR: 28890
Submitted by: matthias.andree at web dot de
MFC after: 7 days
|
|
|
|
|
|
|
|
| |
seed, the random number generator rand(3) still sucks and is unlikely
sufficient for crypto use. Correct what appears to be a cut and paste
error from the srandomdev() man page.
Submitted by: Ben Mesander
|
|
|
|
|
|
|
|
| |
Requested by: keramida
Bump .Dd
Requested by: ru
|
| |
|
|
|
|
|
|
| |
example. The externs haven't been needed in about 10 years, so
there's no reason to have them other than for hysterical raisins. And
the California Rasins haven't been around for a long time...
|
| |
|
|
|
|
|
|
|
|
|
| |
under the RETURN VALUES section so it is consistent with others.
Cleanup the return value text for getenv(3) a little while I am here.
PR: docs/58033
MFC after: 3 days
|
|
|
|
|
|
|
| |
An optional argument cannot start with '-', even if permutation is
disabled.
Obtained from: OpenBSD getopt_long.c v1.17
|
| |
|
|
|
|
| |
in <sys/cdefs.h> for compilers without support for inline.
|
| |
|
| |
|
| |
|
|
|
|
| |
the whatis(1) output.
|
|
|
|
| |
short_too already assumes FLAG_LONGONLY
|
| |
|
|
|
|
|
|
| |
done before the first call, even if this is a malloc(0) call.
PR: 62859
|
|
|
|
| |
cleanup, add more sections, better explanation, declaration
|
|
|
|
|
|
|
|
| |
cleanups, handling 'ls -l-', handling '--*'
Note this is in the same time back out of our v1.3
"Don't print an error message if the bad option is '?'"
because it directly violates POSIX.
|
| |
|
|
|
|
| |
single '-' in command line and '-' (non-first) in options
|
| |
|
| |
|
|
|
|
|
|
|
| |
define for it.
Don't catch POSIXLY_CORRECT env. into static variable, it can be changed
on the fly by program.
Use P1003.2 standartized illoptchar[]
|
| |
|
|
|
|
|
| |
in favour of GNU instead of NetBSD, because configure's use us and
expect GNU.
|
|
|
|
|
| |
in favour of GNU instead of NetBSD, because configure's use us and
expect GNU.
|
|
|
|
|
| |
PR: 63173
Submitted by: Marius Strobl <marius@alchemy.franken.de>
|