[librep] removed our own dlmalloc
- From: Christopher Bratusek <chrisb src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [librep] removed our own dlmalloc
- Date: Tue, 29 Dec 2009 15:15:54 +0000 (UTC)
commit dd0e2e746e96c89c0b7af0dc2732a43d1512d899
Author: Christopher Roy Bratusek <chris nanolx org>
Date: Tue Dec 29 16:15:37 2009 +0100
removed our own dlmalloc
ChangeLog | 8 +
config.h.in | 6 -
configure.in | 14 -
man/news.texi | 11 +-
src/dlmalloc.c | 3175 --------------------------------------------------------
5 files changed, 18 insertions(+), 3196 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 15aca00..8c9be1c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2009-12-29 Christopher Bratusek <zanghar freenet de>
+ * configure.in
+ * config.h.in
+ * src/dlmalloc.c: removed our own dlmalloc, as it breaks on several arches,
+ and is never in use since years [Kim B. Heino]
+
+ * man/news.texi: updated
+
2009-12-07 Christopher Bratusek <zanghar freenet de>
* man/Makefile.in: don't hardcode /usr in manpage installation path
diff --git a/config.h.in b/config.h.in
index 25803ee..d40fabe 100644
--- a/config.h.in
+++ b/config.h.in
@@ -23,9 +23,6 @@
/* Need dlsym uscore */
#undef DLSYM_NEED_USCORE
-/* Have doug lea malloc */
-#undef DOUG_LEA_MALLOC
-
/* Env undeclared */
#undef ENVIRON_UNDECLARED
@@ -288,9 +285,6 @@
/* Have libc gettext */
#undef LIBC_GETTEXT
-/* Have libc malloc */
-#undef LIBC_MALLOC
-
/* Define to the address where bug reports for this package should be sent. */
#undef PACKAGE_BUGREPORT
diff --git a/configure.in b/configure.in
index 2953da6..473770a 100644
--- a/configure.in
+++ b/configure.in
@@ -160,20 +160,6 @@ AC_CHECK_HEADER(gdbm.h,
AC_MSG_ERROR(Cannot find GDBM header))
AC_SUBST(GDBM_LIBS)
-dnl Check for Doug Lea's malloc in libc
-doug_lea_malloc=yes
-AC_CHECK_FUNC(malloc_get_state, , doug_lea_malloc=no)
-AC_CHECK_FUNC(malloc_set_state, , doug_lea_malloc=no)
-if test "$doug_lea_malloc" = "no"; then
- dnl We used to compile our own version of dlmalloc on most
- dnl platforms that didn't have it in their libc. But the list
- dnl of exceptions was growing too long..
- AC_DEFINE(LIBC_MALLOC, 1, [Have libc malloc])
-else
- AC_DEFINE(DOUG_LEA_MALLOC, 1, [Have doug lea malloc])
- AC_DEFINE(LIBC_MALLOC, 1, [Have libc malloc])
-fi
-
dnl Check for readline
AC_ARG_WITH(readline,
[ --with-readline support fancy command input editing
diff --git a/man/news.texi b/man/news.texi
index 6e95c20..87d9919 100644
--- a/man/news.texi
+++ b/man/news.texi
@@ -3,6 +3,15 @@
@appendix News
@cindex News
+ heading 0.90.5
+
+ itemize @bullet
+
+ item Our own implementation of dlmalloc is disabled since 2002, as it breaks
+sawfish on several architectures. From this version on, we don't ship it.
+[Kim B. Heino]
+ end itemize
+
@heading 0.90.4
@itemize @bullet
@@ -254,7 +263,7 @@ when compiling)
@item The compiler enables line-numbering, and uses the information
when it prints errors. It also prints errors in a more standard format
-(intended to mimic GCC), and distinguishes warnings from errors
+(intended to mimic GCC), and distinguishes warnings from errors
@item Debugger is much improved, and supports emacs-style emission of
line number tokens. Use the included @file{rep-debugger.el} elisp code
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]