From 8c82c2e5ef636f48557a5834e0129bb726d1219a Mon Sep 17 00:00:00 2001 From: ceriel Date: Tue, 17 Sep 1991 09:46:12 +0000 Subject: [PATCH] MAXPROCARG could be 0 --- mach/proto/ncg/codegen.c | 2 +- mach/proto/ncg/proto.make | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mach/proto/ncg/codegen.c b/mach/proto/ncg/codegen.c index 124021ee2..c9db68645 100644 --- a/mach/proto/ncg/codegen.c +++ b/mach/proto/ncg/codegen.c @@ -57,7 +57,7 @@ unsigned codegen(codep,ply,toplevel,costlimit,forced) byte *codep; unsigned cost #endif unsigned totalcost = 0; int inscoerc=0; - int procarg[MAXPROCARG]; + int procarg[MAXPROCARG+1]; #ifdef ALLOW_NEXTEM static int paniced; char *savebp = 0; diff --git a/mach/proto/ncg/proto.make b/mach/proto/ncg/proto.make index 47087a084..b26f8a963 100644 --- a/mach/proto/ncg/proto.make +++ b/mach/proto/ncg/proto.make @@ -78,7 +78,7 @@ var.$(SUF): $(CDIR)/var.c $(CC) -c $(CFLAGS) $(CDIR)/var.c install: all - mkdir $(TARGET_HOME)/lib.bin/$(MACH) + -mkdir $(TARGET_HOME)/lib.bin/$(MACH) cp cg $(TARGET_HOME)/lib.bin/$(MACH)/cg cmp: all -- 2.34.1