summaryrefslogtreecommitdiff
path: root/libc/stdlib/malloc-930716
AgeCommit message (Collapse)Author
2003-10-17Doh!!!Eric Andersen
2003-10-16Do not set errno when they asked for size 0Eric Andersen
2003-09-06Fix errno values. Fix MALLOC_GLIBC_COMPAT handling in malloc/malloc.c,Eric Andersen
which was reversed. Provide more consistancy between implementations. Handle it when people do stupid things like malloc(-1);
2003-08-08Add in a MALLOC_GLIBC_COMPAT option to let people decide if theyEric Andersen
want glibc style malloc(0) behavior
2003-01-23Kill the needless '#if 1'Eric Andersen
2002-09-05split-out memalign and reallocEric Andersen
-Erik
2002-09-04Make sjhill happy, and revive memalignEric Andersen
-Erik
2002-09-04Per discussions with Erik, 'valloc.c' should be built on top of whichever"Steven J. Hill"
memory allocator you choose. Unfortunately, the 'malloc-930716' needs a fair amount of work before it is functional. For now, changes have been made to add the 'valloc' call and it works properly with the plain 'malloc' allocator.
2002-09-04Added 'valloc' back in. Ok, Erik can smack me now."Steven J. Hill"
2002-08-07Per suggestion from Miles Bader, move calloc.c to libc/stdlib.Eric Andersen
Also, Manuel notices that I forgot to check for when nmemb=0, which would result in a segfault, so fix that case as well. -Erik
2002-08-06Unify calloc (its the same thing regardless of the underlyingEric Andersen
malloc implementation). Fix problem reported to bugtraq about problems with integer overflow that can occur during the computation of the memory region size by calloc (and similar functions) which could result in a subsequent buffer overflow. -Erik
2002-07-16__morecore need not be a function pointerEric Andersen
2002-07-16Odd. Got a copy of junk in here.Eric Andersen
2002-07-01This patch, from Ronald Wahl <rwa@peppercon.com>, fixes theEric Andersen
spots where I screwed up and forgot to fix realloc to use free_unlocked() instead of free(). Thanks Ronald!
2002-06-18Rework, reduce the size, add proper lockingEric Andersen
-Erik
2001-12-19Update my email address. I am no longer andersen@lineo.comEric Andersen
2001-05-12Ok, this should finish off my massive ro-organization. The sourceEric Andersen
tree is less messy now (which helps), all libraries are placed into uClibc/lib when compiling, all libraries now use a consistant mechanism for being built, all libraries use a consistant naming scheme where the lib name includes the uClibc version number, which makes ldconfig happy and willing to work with us. -Erik
2001-04-25Be more strict with the glibc style malloc implementation. Return NULLEric Andersen
when folks do a malloc(0) using malloc-930716.
2001-01-11A large update from Manuel Novoa III <mnovoa3@bellsouth.net>.Eric Andersen