Waldemar Brodkorb
|
cddda5f9be
order of special checks matters
|
пре 9 година |
Waldemar Brodkorb
|
c269f57d32
return NULL for realloc(p,0) like glibc
|
пре 9 година |
Mike Frysinger
|
07e0ce9fa7
malloc: handle size overflows in realloc()
|
пре 15 година |
Bernhard Reutner-Fischer
|
21730caa66
trim Experimentally off and uncommented hidden
|
пре 15 година |
Rob Landley
|
7d602faf76
Finally fix the MALLOC=y and MALLOC_SIMPLE=y breakage from svn 23660. (I found it, this is Bernhard's patch to fix it. Tested and it Works For Me (tm)).
|
пре 16 година |
Bernhard Reutner-Fischer
|
0be050c8b6
This should fix malloc with debug and without threads. (Chase N Douglas)
|
пре 16 година |
Khem Raj
|
6494060312
Fix bug 4994 hangs on read(). I have tested the patch extensibly on ARM/LT.old.
|
пре 16 година |
Denis Vlasenko
|
125773133f
Moving libc_hidden_proto's into #ifdef UCLIBC_INTERNAL block
|
пре 16 година |
Mike Frysinger
|
086ca312f1
fix from Bernd Schmidt for realloc shrinkage bug
|
пре 17 година |
Mike Frysinger
|
1db7c76a0c
fix up malloc debug building
|
пре 17 година |
Mike Frysinger
|
31ff6e059f
check for a 0 size first, then check for a NULL pointer
|
пре 19 година |
Peter S. Mazinger
|
af0172162f
hidden_def/hidden_proto: convert all users (I hope) termios split, add some missing headers, other jump relocs removed
|
пре 19 година |
Peter S. Mazinger
|
8a0b43005a
Hide mostly used functions
|
пре 19 година |
Miles Bader
|
3e6ccac195
Code formatting cleanup.
|
пре 21 година |
Eric Andersen
|
cd34085f2c
Fix errno values. Fix MALLOC_GLIBC_COMPAT handling in malloc/malloc.c,
|
пре 21 година |
Miles Bader
|
4d952dfe77
Improve malloc debugging support.
|
пре 22 година |
Eric Andersen
|
db7c5027f4
Fix malloc so it compiles and works when using pthreads
|
пре 22 година |
Miles Bader
|
c5daf7d8dc
Use __heap_[un]lock instead of __malloc_[un]lock.
|
пре 22 година |
Miles Bader
|
5752e10795
(realloc): Record the correct size in the malloc header in the case
|
пре 22 година |
Miles Bader
|
b348111d8c
(realloc): Follow new arg conventions of MALLOC_SET_SIZE.
|
пре 22 година |
Miles Bader
|
cb6fdcff80
Handle zero NEW_SIZE case.
|
пре 22 година |
Miles Bader
|
b1723348b5
Use MALLOC_REALLOC_MIN_FREE_SIZE.
|
пре 22 година |
Miles Bader
|
3d909b2123
In the allocate-and-copy case, don't include the malloc header in our
|
пре 22 година |
Miles Bader
|
dfa6a5382a
Update debugging printfs.
|
пре 22 година |
Miles Bader
|
73900d95a7
Account for MALLOC_HEADER_SIZE when calculating new size.
|
пре 22 година |
Miles Bader
|
2fbc5f2c9c
Make sure NEW_SIZE is a multiple of HEAP_GRANULARITY.
|
пре 22 година |
Miles Bader
|
9f86edc4a9
Update the size of grown/shrunk allocations.
|
пре 22 година |
Miles Bader
|
8ff1de76b6
Implement shrinking.
|
пре 22 година |
Miles Bader
|
056f9d9894
Redo the locking, so that it may actually work. Now locking is done at
|
пре 22 година |
Miles Bader
|
a4214b2491
Misc small cleanups.
|
пре 22 година |