summaryrefslogtreecommitdiff
path: root/lib/libc/stdlib
AgeCommit message (Expand)Author
2010-07-28Sync hcreate(3) with NetBSD, adding some caveats.Ray Lai
2010-07-22getopt_long.c replaced getopt.c 6+ years ago; we can retireBret Lambert
2010-07-06Document new unsetenv() error returns.Christian Weisgerber
2010-06-29Make unsetenv(NULL) and unsetenv("") give EINVAL, per POSIX. ok deraadt@Christian Weisgerber
2010-05-26oops - forgot to check for trailing whitespace;Jason McIntyre
2010-05-26reword the 'D' dump bit to make it clear that the malloc.out file needsThordur I. Bjornsson
2010-05-19tweak previous;Jason McIntyre
2010-05-18add posix_madvise, posix_memalign, strndup, and strnlen. mostly fromTed Unangst
2010-04-07- nuke some unneeded Pp; from kristapsJason McIntyre
2010-04-01WARNINGS -> CAVEATS, and a little neccessary cleanup;Jason McIntyre
2010-03-10It's unsetenv() that doesn't like `=' in the argument, not putenv().Matthias Kilian
2010-02-08Use size_t in appropriate places; fixes sorting of big arrays;Otto Moerbeek
2010-02-08use size_t to index arrays; avoids big array bugs; ok millert@ guenther@Otto Moerbeek
2010-02-03Use MACHINE_CPU instead of MACHINE_ARCH to pick the correct machine dependentMiod Vallat
2010-01-25stucture -> structure;Jason McIntyre
2010-01-13New options 'S', as a shorthand for the options most suitable as anOtto Moerbeek
2009-12-16save calls to arc4random() by using a nibble at a time; not becauseOtto Moerbeek
2009-12-07Make userland malloc use __LDPGSZ granularity on mips, regardless of theMiod Vallat
2009-11-27Switch the chunk_info lists to doubly-linked lists and use the queueOtto Moerbeek
2009-11-27Don't forget to fill region from the cache with junk if needed in one case;Otto Moerbeek
2009-11-27No need to clear a mmapped region; from Fabien Romano and JonathanOtto Moerbeek
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