From f78cbc818f8cbfb13db923d5241ca75bdab03124 Mon Sep 17 00:00:00 2001 From: ceriel Date: Wed, 28 Jan 1987 16:22:30 +0000 Subject: [PATCH] Avoid bug in VAX assembler. But i don't know what is happening. --- lang/cem/libcc/gen/malloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lang/cem/libcc/gen/malloc.c b/lang/cem/libcc/gen/malloc.c index aa23cd630..4e7d4dd9d 100644 --- a/lang/cem/libcc/gen/malloc.c +++ b/lang/cem/libcc/gen/malloc.c @@ -46,7 +46,7 @@ unsigned size; if ((p = bottom) == 0) { top = bottom = p = sbrk(sizeof(char *)); - NEXT(top) = 0; + NEXT(p) = 0; } while ((next = NEXT(p)) != 0) if ((vir_bytes) next & BUSY) /* already in use */ -- 2.34.1