Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2005-07-05 19:11:49 +0400
committerChristopher Faylor <me@cgf.cx>2005-07-05 19:11:49 +0400
commit57000a5d5cce78ba74aa80a4b183400958a9095a (patch)
tree5ba04b707c90fcb4127ec7609ac6425221a32802
parent4ae72e8c0eafa40c08b8e16c124fecf49148fee9 (diff)
* malloc.cc: Update to version 2.8.2.
-rw-r--r--winsup/cygwin/ChangeLog4
-rw-r--r--winsup/cygwin/malloc.cc19
2 files changed, 18 insertions, 5 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index 43df98975..873218d63 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,3 +1,7 @@
+2005-07-05 Christopher Faylor <cgf@timesys.com>
+
+ * malloc.cc: Update to version 2.8.2.
+
2005-07-05 Corinna Vinschen <corinna@vinschen.de>
* fhandler_tape.cc (fhandler_dev_tape::close): Don't do "extra stuff"
diff --git a/winsup/cygwin/malloc.cc b/winsup/cygwin/malloc.cc
index 44664b25a..4dd1cf926 100644
--- a/winsup/cygwin/malloc.cc
+++ b/winsup/cygwin/malloc.cc
@@ -4,7 +4,7 @@
http://creativecommons.org/licenses/publicdomain. Send questions,
comments, complaints, performance data, etc to dl@cs.oswego.edu
-* Version 2.8.0 Mon May 30 14:59:49 2005 Doug Lea (dl at gee)
+* Version 2.8.2 Sun Jun 12 16:05:14 2005 Doug Lea (dl at gee)
Note: There may be an updated version of this malloc obtainable at
ftp://gee.cs.oswego.edu/pub/misc/malloc.c
@@ -621,6 +621,10 @@ struct mallinfo {
#endif
#endif
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#if !ONLY_MSPACES
/* ------------------- Declarations of public routines ------------------- */
@@ -643,9 +647,6 @@ struct mallinfo {
#define dlindependent_comalloc independent_comalloc
#endif
-#ifdef __cplusplus
-extern "C" {
-#endif
/*
malloc(size_t n)
@@ -3774,8 +3775,8 @@ static void* internal_memalign(mstate m, size_t alignment, size_t bytes) {
set_inuse(m, newp, newsize);
set_inuse(m, p, leadsize);
leader = chunk2mem(p);
- p = newp;
}
+ p = newp;
}
/* Give back spare room at the end */
@@ -3934,6 +3935,7 @@ static void** ialloc(mstate m,
return marray;
}
+
/* -------------------------- public routines ---------------------------- */
#if !ONLY_MSPACES
@@ -4793,6 +4795,13 @@ int mspace_mallopt(int param_number, int value) {
/* -----------------------------------------------------------------------
History:
+ C2.8.2 Sun Jun 12 16:01:10 2005 Doug Lea (dl at gee)
+ * Fix memalign brace error.
+
+ V2.8.1 Wed Jun 8 16:11:46 2005 Doug Lea (dl at gee)
+ * Fix improper #endif nesting in C++
+ * Add explicit casts needed for C++
+
V2.8.0 Mon May 30 14:09:02 2005 Doug Lea (dl at gee)
* Use trees for large bins
* Support mspaces