summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib/malloc.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Change realloc(foo,0) to behave like malloc(0). Both now return a pointerpefo1997-08-231-4/+1
| | | | | to an object of size zero. This will allow testing on reallocs return value to determine if the operation was successful or not.
* malloc_init() should try to not modify errnoderaadt1997-08-221-2/+3
|
* Use MALLOC_EXTRA_SANITY consistently (EXTRA_SANITY was used in many places)millert1997-07-021-15/+16
| | | | sizeof *pt -> sizeof *px (point to same type of struct but looked wrong).
* Make it possible to not output warnings (errors causing aborts are alwaystholo1997-05-311-1/+8
| | | | output).
* Add x/X option to behave like X11 xmalloc; from FreeBSDtholo1997-05-311-31/+71
| | | | Reduce diffs wrt. FreeBSD some
* Be more careful with mixing typestholo1997-04-301-6/+5
|
* Check for overflow; from FreeBSDtholo1997-04-051-2/+4
|
* is we were set[ug]id an unitialized ptr bit usniklas1997-02-111-3/+6
|
* Make this 64-bit safe againtholo1997-02-091-16/+16
|
* Integrate latest malloc(3) from FreeBSDtholo1997-01-051-264/+124
|
* more 64bit fixesniklas1996-11-241-10/+12
|
* 64 bit cleanniklas1996-11-231-3/+25
|
* removed plus sign from start of linekstailey1996-11-221-2/+2
|
* Make sure we don't dereference stray pointer when running suid or sgidtholo1996-09-261-1/+3
|
* Restore check for suid / sgidtholo1996-09-261-2/+2
|
* Latest changes from FreeBSDtholo1996-09-261-220/+271
|
* From FreeBSD:tholo1996-09-191-3/+4
| | | | | | | | > Fix a very rare error condition: The code to free VM back to the kernel > as done after a quasi-recursive call to free() had modified what we > thought we knew about the last chunk of pages. > This bug manifested itself when I did a "make obj" from src/usr.sbin/lpr, > then make would coredump in the lpd directory.
* Avoid pulling in stdiotholo1996-09-161-3/+3
|
* Remove dead codetholo1996-09-151-2/+2
| | | | | | Remove unused variables Silence some warnings lint(1) is your friend
* only support MALLOC_OPTIONS for non-setuidderaadt1996-09-111-3/+5
|
* asm -> __asm, clean lint(1) warningstholo1996-09-061-15/+16
|
* Move cfree(3) weak symbol into a seperate filetholo1996-08-211-22/+1
|
* Make the binding cfree() -> free() weak if possibletholo1996-08-201-5/+12
|
* Remove ANSI function delcarations and add a cfree() stub function.downsj1996-08-201-22/+67
|
* Fix RCS idstholo1996-08-191-3/+4
| | | | Make sure everything uses {SYS,}LIBC_SCCS properly
* malloc(3) implementation from FreeBSD; uses mmap(2) to get memorytholo1996-08-021-365/+1158
|
* Add prototypes for internal functionstholo1996-03-251-3/+3
| | | | Change inline to __inline
* realloc(ptr, 0) does not free; from seebs@taniemarie.solon.com;deraadt1996-01-291-2/+11
| | | | netbsd pr#1806
* initial import of NetBSD treederaadt1995-10-181-0/+421