MAXPROCARG could be 0
authorceriel <none@none>
Tue, 17 Sep 1991 09:46:12 +0000 (09:46 +0000)
committerceriel <none@none>
Tue, 17 Sep 1991 09:46:12 +0000 (09:46 +0000)
mach/proto/ncg/codegen.c
mach/proto/ncg/proto.make

index 124021e..c9db686 100644 (file)
@@ -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;
index 47087a0..b26f8a9 100644 (file)
@@ -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