From: ceriel Date: Tue, 17 Sep 1991 09:46:12 +0000 (+0000) Subject: MAXPROCARG could be 0 X-Git-Tag: release-5-5~873 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=8c82c2e5ef636f48557a5834e0129bb726d1219a;p=ack.git MAXPROCARG could be 0 --- 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