aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-04-12 23:17:05 +0000
committerUlrich Drepper <drepper@redhat.com>2000-04-12 23:17:05 +0000
commit13f536d43955451fd236b211b6712dc924ab1e49 (patch)
treebb2752a9a29616826f4770c0834a8a2efd91d964
parent92d2e18fa4f031c6a129aa5cfeaef59127ba3b1b (diff)
downloadglibc-13f536d43955451fd236b211b6712dc924ab1e49.tar
glibc-13f536d43955451fd236b211b6712dc924ab1e49.tar.gz
glibc-13f536d43955451fd236b211b6712dc924ab1e49.tar.bz2
glibc-13f536d43955451fd236b211b6712dc924ab1e49.zip
Update.
* malloc/malloc.c: Undo all of today's changes.
-rw-r--r--ChangeLog2
-rw-r--r--malloc/malloc.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 8f95162e1f..cc41eece63 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
2000-04-12 Ulrich Drepper <drepper@redhat.com>
+ * malloc/malloc.c: Undo all of today's changes.
+
* locale/programs/locale.c (show_info): Don't try to look into
data for LC_ALL (there is none).
diff --git a/malloc/malloc.c b/malloc/malloc.c
index 93feb07ecd..f674f4ebfe 100644
--- a/malloc/malloc.c
+++ b/malloc/malloc.c
@@ -3738,7 +3738,7 @@ Void_t* cALLOc(n, elem_size) size_t n; size_t elem_size;
}
#endif
- MALLOC_ZERO(mem, sz);
+ MALLOC_ZERO(mem, csz - SIZE_SZ);
return mem;
}