projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ba81978
)
fix regression/typo that disabled __simple_malloc when calloc is used
author
Rich Felker
<dalias@aerifal.cx>
Mon, 22 Jun 2015 20:33:28 +0000
(20:33 +0000)
committer
Rich Felker
<dalias@aerifal.cx>
Mon, 22 Jun 2015 20:33:28 +0000
(20:33 +0000)
commit
ba819787ee93ceae94efd274f7849e317c1bff58
introduced this
regression. since the __malloc0 weak alias was not properly provided
by __simple_malloc, use of calloc forced the full malloc to be linked.
src/malloc/lite_malloc.c
patch
|
blob
|
history
diff --git
a/src/malloc/lite_malloc.c
b/src/malloc/lite_malloc.c
index b09f30b02e8a92c71ad2639b6c922dcbee488b82..09ac575596b4f0651269e5231bedf05d455cd916 100644
(file)
--- a/
src/malloc/lite_malloc.c
+++ b/
src/malloc/lite_malloc.c
@@
-47,4
+47,4
@@
void *__simple_malloc(size_t n)
}
weak_alias(__simple_malloc, malloc);
-weak_alias(__simple_malloc, malloc0);
+weak_alias(__simple_malloc,
__
malloc0);