summaryrefslogtreecommitdiff
path: root/lib/libc/stdlib
AgeCommit message (Expand)Author
2009-11-02permit -DMALLOC_STATS to compile againTodd T. Fries
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
2009-10-20Check mmap return value against MAP_FAILED not NULL.Paul Irofti
2009-10-16teach gdtoa & its subroutines that malloc can fail; in which caseMartynas Venckus
2009-10-10rewrite the history section, prompted by Paul Stoeber; ok deraadt@ jmc@Otto Moerbeek
2009-06-21abs conforms c99 -> imaxabs conforms c99. ok millert@Martynas Venckus
2009-06-08quieten compiler by converting pointers to uintptr_t before truncating themTheo de Raadt
2009-06-04Don't assume that we can overwrite strings in the environment.Todd C. Miller
2009-06-03Make putenv(), setenv() and unsetenv() standards compliant. TheTodd C. Miller
2009-04-12document that no leading whitespace is permitted between the option andOkan Demirmen
2009-02-13kill whitespace at eol;Jason McIntyre
2009-02-13decribe 'F' better and mention flags are debugging aids; ok tedu@ jmc@Otto Moerbeek
2009-02-10correct function definitions; from Markus BergkvistJason McIntyre
2009-01-03reintroduce extra malloc protections, but avoiding the use ofDamien Miller
2008-12-31PAGE_SIZE is not a valid symbol to use in that way. In particular,Theo de Raadt
2008-12-30Remove mprotecting of struct dir_info introduced in previous commitDamien Miller
2008-12-29extra paranoia for malloc(3):Damien Miller
2008-12-15shave off more bytes than you expect by declaring a few const local arraysOtto Moerbeek
2008-11-26Fix typo, okay jmc@.Pedro Martelletto
2008-11-20move allocations between half a page and a page as close to the end ofOtto Moerbeek
2008-11-20Reduce the leeway malloc allows when moving allocations to the end ofOtto Moerbeek
2008-11-13To allow for easier playing with more strict settings introduceOtto Moerbeek
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