summaryrefslogtreecommitdiff
path: root/lib/libc/stdlib
AgeCommit message (Expand)Author
2008-11-12avoid a few strlen calls for constant strings; prompted by tg; ok djm@Otto Moerbeek
2008-11-06if the freeprot flag (F) is set, do not do delayed frees for chunksOtto Moerbeek
2008-11-02fix markup of example line and description of G flag; partly from andOtto Moerbeek
2008-11-02remove distinction between warnings and errors, ok deraadt@ djm@Otto Moerbeek
2008-10-29if MALLOC_STATS is defined, record how many "cheap reallocs" wereOtto Moerbeek
2008-10-20oops, assign errno the right way. caught by david running regress testsOtto Moerbeek
2008-10-03reduce rbyte cache to 512 bytes, no measurable slowdown (even in theOtto Moerbeek
2008-10-03save and restore errno on success. while it is not stricly needed forOtto Moerbeek
2008-10-03when increasing the size of a larger than a page allocation tryOtto Moerbeek
2008-10-03avoid spitting up regions when purging stuff from the cache, it putsOtto Moerbeek
2008-09-13document strtold. ok millert@Martynas Venckus
2008-09-13strtof has been introduced in c99Martynas Venckus
2008-09-07- replace dtoa w/ David's gdtoa, version 2008-03-15Martynas Venckus
2008-09-03remove now obsolete calloc implementation; prompted by miodOtto Moerbeek
2008-08-25Make all combinations of G, P, J and zero-fill work with as littleOtto Moerbeek
2008-08-23unbreak MALLOC_OPTIONS=G that I broke in my last commit;Damien Miller
2008-08-23fix calloc() for MALLOC_OPTIONS=J case: SOME_JUNK was being filled intoDamien Miller
2008-08-22make sure we always map and unmap multiples of MALLOC_PAGESIZE;Otto Moerbeek
2008-08-22Smarter implementation of calloc(3), which uses the fact that mmap(2)Otto Moerbeek
2008-08-07small cleanup of error/warning stringsOtto Moerbeek
2008-07-28man page bits for new malloc; ok jmc@Otto Moerbeek
2008-07-28Almost complete rewrite of malloc, to have a more efficient dataOtto Moerbeek
2008-06-26First pass at removing clauses 3 and 4 from NetBSD licenses.Ray Lai
2008-06-13grammar fixes;Jason McIntyre
2008-06-13remove _MALLOC_LOCK_INIT; major bump; ok deraadt@Otto Moerbeek
2008-06-13Add strtof() to libc, some ports seem to like it. Currently it's a simpleLandry Breuil
2008-05-20kill an Xr to a non-existent man page, ulimit(1);Jason McIntyre
2008-05-19remove recalloc(3); it is buggy and impossible to repair without bigOtto Moerbeek
2008-04-13Use arc4random_buf() when requesting more than a single word of outputDamien Miller
2008-04-04- do not call pthread_atfork(3) handlers when a multithreaded programKurt Miller
2008-02-20use pgfree pool like other code does to reserve free list slots.Otto Moerbeek
2007-11-13Put limits.h in front of stdlib.h as style(9) recommends.Tobias Stoeckmann
2007-11-11strtod may return HUGE_VAL on overflow, which is defined in math.h.Tobias Stoeckmann
2007-10-31Add parentheses to avoid warning:Charles Longeau
2007-09-05Add missing header to avoid warningCharles Longeau
2007-09-05no need to talk about bits; ok millert jmcTheo de Raadt
2007-09-03Update free(3) section--we use mmap()/munmap(), not brk().Todd C. Miller
2007-09-03Add __cxa_atexit() support for gcc3. This provides support for shared object...Todd C. Miller
2007-09-03add recaloc(3)Todd C. Miller
2007-09-02use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsgTheo de Raadt
2007-08-08Clarify the example about avoiding overflow. OK ray@ deraadt@Todd C. Miller
2007-07-06Reference limits.h, not sys/param.h since we document using PATH_MAXTodd C. Miller
2007-07-03from ginsbach@netbsd, -r1.18:Jason McIntyre
2007-06-29Document behavior when no conversion could be performed. AdaptedTodd C. Miller
2007-05-31convert to new .Dd format;Jason McIntyre
2007-04-10Support for optional args separated with whitespace was removedTodd C. Miller
2007-02-12get cheaper random bytes, less waste and no getpid() calls, which areOtto Moerbeek
2007-02-06fix some dodgy displays;Jason McIntyre
2007-01-16sync with the code: int -> intmax_tSteven Mestdagh
2007-01-08advertising clauses that can be droppedTheo de Raadt