| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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>
|
| |
|
|
|
|
| |
not in <unistd.h>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
through a realloc like function.
Make the malloc_active variable a local static to this new function.
Don't warn about recursion more than once per base call.
constify malloc_func.
|
|
|
|
|
|
|
|
|
| |
has been hit, this makes it cover more cases.
Call the message function directly rather than fiddle with flag-saving
when we find an unknown character in our options.
The 'A' flag should not trigger on legal out of memory conditions.
|
|
|
|
| |
<gnuregex.h>.
|
|
|
|
|
|
|
|
| |
These files had tags after the copyright notice,
inside the comment block (incorrect, removed),
and outside the comment block (correct).
Approved by: rwatson (mentor)
|
|
|
|
|
|
|
|
|
| |
This results in no functional change, aside from fixing a data
corruption bug on LP64 platforms. The code here could still use a
significant amount of cleanup.
PR: 56502
Submitted by: hrs (earlier version)
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
รณ++ ABI document at http://www.codesourcery.com/cxx-abi/abi.html#dso-dtor
The ABI was initially defined for ia64, but GCC3 and Intel compilers
have adopted it on other platforms.
This is the patch from PR bin/59552 with a number of changes by
me.
PR: bin/59552
Submitted by: Bradley T Hughes (bhughes at trolltech dot com)
|