summaryrefslogtreecommitdiff
path: root/boehm-gc/malloc.c
diff options
context:
space:
mode:
authorfche <fche@138bc75d-0d04-0410-961f-82ee72b054a4>2004-01-07 21:47:35 +0000
committerfche <fche@138bc75d-0d04-0410-961f-82ee72b054a4>2004-01-07 21:47:35 +0000
commit246f9c5f1f7017f52bcab28c66f2e54cc18e2d20 (patch)
tree78f43b697b0ed5013d48edb480209ce3f565dd23 /boehm-gc/malloc.c
parent9b1ad90931839deb59a4f8625ce80cf8644ceee4 (diff)
downloadgcc-246f9c5f1f7017f52bcab28c66f2e54cc18e2d20.tar.gz
* approved by rth
2004-01-07 Dave Jones <davej@redhat.com> * malloc.c (GC_generic_malloc): Correct initialization typo. * mallocx.c (GC_generic_malloca_ignore_off_page): Ditto. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75518 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'boehm-gc/malloc.c')
-rw-r--r--boehm-gc/malloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/boehm-gc/malloc.c b/boehm-gc/malloc.c
index f5c8f06b0dd..353a9bc9599 100644
--- a/boehm-gc/malloc.c
+++ b/boehm-gc/malloc.c
@@ -217,7 +217,7 @@ register int k;
GC_words_allocd += lw;
UNLOCK();
ENABLE_SIGNALS();
- if (init & !GC_debugging_started && 0 != result) {
+ if (init && !GC_debugging_started && 0 != result) {
BZERO(result, n_blocks * HBLKSIZE);
}
}