summaryrefslogtreecommitdiff
path: root/lib/libc/stdlib
AgeCommit message (Collapse)Author
2010-03-19Namespace protection for mi_vector_hash.joerg
2010-03-04Fix race condition on reallocation of huge category.enami
We need to remove the old region before mremap() since if it relesae the old region, other thread may map it for the same huge category allocation and insert it to the tree before we acquire a lock after mremap(). Fixes PR/42876.
2010-02-04Include nbtool_config.h as we need to be part of the terminfo toolchain.roy
2009-12-02tyop de fixpooka
2009-12-02Document that strtouq can return UQUAD_MAX.pooka
2009-12-02Retain old variables when failed to allocate memory.enami
2009-11-17Mention that it is included in IEEE Std 1003.1-2008.wiz
2009-11-17Mention that getsubopt is an XSI extension for IEEE Std 1003.1, 2004 ↵wiz
Edition. Bump date.
2009-10-21Remove 3rd and 4th clauses in christos' license. OK christos.snj
2009-10-19Fix header to include. From Kristaps Dzonsons.joerg
2009-10-08When converting the locking path of mutex+counter to a real recursivepooka
mutex, it's a good idea to convert the unlock path too so that the recursive mutex gets released as many times as it was locked. Fixes pthread + cxa deadlock.
2009-09-05Ansify functions and remove __P/dsl
2009-08-21The 'table' of character weights is allowed to be NULL.dsl
The SETUP define sorts it out (in the slowest and nastiest possible way!) Broken by rev 1.12 almost 10 years ago!
2009-07-31Add the 'abs', 'div' and 'erand48' sources to stdlib/Makefile.inc.dsl
Change the arch files only include the .S files. This adds imaxdiv() to some archs where it was missing.
2009-07-23Bump date for previous.wiz
2009-07-23Clarify the description of the errno behavior, based on the recentdholland
thread in tech-userlevel.
2009-07-21Add HISTORY.joerg
2009-07-20Add a fast, platform independent hash function to libc.joerg
The algorithm used is the Jenkins hash. The name (mi_vector_hash) reflects the nature of the hash function. Add glue for libc ATF tests and include a test case to make sure that (mis)alignment and endianess are handled correctly. Bump libc minor to 169.
2009-07-20Re-add explanation of how to correctly use realloc.pooka
2009-06-01qsort: remove the "switch to insertion sort" optimization because ityamt
causes catastrophic performance for certain inputs.
2009-05-21Markup improvements. No need to mark up numbers as defined values, mathwiz
did the definition for us ages ago. Make HTML-ready.
2009-05-20mention that these functions return 0 and set errno to ERANGE on invalid base.christos
2009-05-18Grammar fix.wiz
2009-05-13Revert parts of v1.25 (jemalloc):wiz
Re-add RCS Id, remove superfluous .Pp, join line, comment out limits(1) xref.
2009-04-11Fix markup.joerg
2009-03-20ANSIfy. Remove conditionals around __RCSID.joerg
2009-03-20ANSIfy. Remove conditional macros around __RCSID.joerg
2009-03-12Explicitly mark : as literal, use Pq.joerg
2009-03-10Fix prologue.joerg
2009-02-12Fix sign-compare issueslukem
2009-02-12fix sign-compare issuelukem
2009-02-12Apply some of FreeBSD libc/stdlib/malloc.c rev 1.162lukem
to fix sign-compare issues.
2009-01-30sign-compare fixlukem
2009-01-30sign-compare fixlukem
2009-01-30Make threaded programs die correctly:ad
kill(getpid(), SIGFOO) -> raise(SIGFOO)
2009-01-11merge christos-time_tchristos
2008-11-16Our qsort() is inappropriate for kernel use because it makes recursivead
calls. Replace it with a kheapsort() function in kernel. Pointed out by tron@.
2008-11-16Make qsort() available in libkern.ad
2008-11-01use the right variable in memcpy.christos
2008-10-31make __findenv return the offset for the new entry to be inserted whenchristos
the string is not found, to avoid an additional scan of the environ array in setenv.
2008-10-26define and use LIBCDIR in terms of .CURDIR. fixes compat/lib/libc build.mrg
2008-09-10Prepare use of strtoull, strtoumax and strtoimax in tools/compat byjoerg
including nbtool_config.h.
2008-08-27system(NULL) should return if the command interpreter is there or not.christos
Andy Shevchenko
2008-08-26fix range of strtouq(), from Henning Petersen per PR lib/39399drochner
2008-08-20Unify the implementation of strto{l,ul,ll,ull,imax,umax,q,uq} into onejoerg
version for signed and one version for unsigned data types. Add a check for supported bases and set errno (userland) or panic (kernel, libsa) otherwise. Make strto{ll,ull,imax,umax} normal symbols and just keep the underscore versions as strong alias. Obtained from DragonFly, based on the wide char version from Citrus. Reviewed by christos@
2008-08-04Add C99 functions imaxabs and imaxdiv.matt
2008-07-21Remove the \n and tabs from the __COPYRIGHT() strings.lukem
Tweak to use a consistent format.
2008-06-23Split choose_arena() back out into inline and non-inline portions.ad
2008-06-05Check to see if MALLOC_OPTIONS is actually set in the environment beforead
doing issetugid().
2008-04-30Convert TNF licenses to new 2 clause variantmartin