[git commit] malloc: enable assert() when malloc debugging

Bernhard Reutner-Fischer rep.dot.nop at gmail.com
Fri Aug 2 12:04:17 UTC 2013


commit: http://git.uclibc.org/uClibc/commit/?id=f2a8f24fbaec0b242d9ef3fa3347efc263f92ee2
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/master

UCLIBC_MALLOC_DEBUGGING is useless without assert().

Signed-off-by: Baruch Siach <baruch at tkos.co.il>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop at gmail.com>
---
 extra/Configs/Config.in |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/extra/Configs/Config.in b/extra/Configs/Config.in
index 374d772..c1ce9bd 100644
--- a/extra/Configs/Config.in
+++ b/extra/Configs/Config.in
@@ -2393,6 +2393,7 @@ config SUPPORT_LD_DEBUG_EARLY
 config UCLIBC_MALLOC_DEBUGGING
 	bool "Build malloc with debugging support"
 	depends on MALLOC || MALLOC_STANDARD
+	select DOASSERTS
 	help
 	  Answer Y here to compile extra debugging support code into malloc.
 	  Malloc debugging output may then be enabled at runtime using the


More information about the uClibc-cvs mailing list