[uClibc-cvs] uClibc/docs Glibc_vs_uClibc_Differences.txt,1.8,1.9

Erik Andersen andersen at uclibc.org
Fri Apr 25 09:09:59 UTC 2003


Update of /var/cvs/uClibc/docs
In directory winder:/tmp/cvs-serv23150/docs

Modified Files:
	Glibc_vs_uClibc_Differences.txt 
Log Message:
Comment on glibc's MALLOC_CHECK_ support.


Index: Glibc_vs_uClibc_Differences.txt
===================================================================
RCS file: /var/cvs/uClibc/docs/Glibc_vs_uClibc_Differences.txt,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- Glibc_vs_uClibc_Differences.txt	12 Feb 2003 13:09:59 -0000	1.8
+++ Glibc_vs_uClibc_Differences.txt	25 Apr 2003 09:09:56 -0000	1.9
@@ -24,6 +24,14 @@
 This difference also applies to realloc(NULL, 0).  I personally feel glibc's
 behavior is not particularly safe.
 
+4.1) glibc's malloc() implementation has behavior that is tunable via the
+MALLOC_CHECK_ environment variable.  This is primarily used to provide extra
+malloc debugging features.  These extended malloc debugging features are not
+available within uClibc.  There are many good malloc debugging libraries
+available for Linux (dmalloc, electric fence, valgrind, etc) that work much
+better than the glibc extended malloc debugging.  So our omitting this
+functionality from uClibc is not a great loss.
+
 5) uClibc does not provide a database library (libdb).
 
 6) uClibc does not support NSS (/lib/libnss_*), which allows glibc to easily



More information about the uClibc-cvs mailing list