public
/
ack.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a970ea
)
MAXPROCARG could be 0
author
ceriel
<none@none>
Tue, 17 Sep 1991 09:46:12 +0000
(09:46 +0000)
committer
ceriel
<none@none>
Tue, 17 Sep 1991 09:46:12 +0000
(09:46 +0000)
mach/proto/ncg/codegen.c
patch
|
blob
|
history
mach/proto/ncg/proto.make
patch
|
blob
|
history
diff --git
a/mach/proto/ncg/codegen.c
b/mach/proto/ncg/codegen.c
index
124021e
..
c9db686
100644
(file)
--- 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
47087a0
..
b26f8a9
100644
(file)
--- 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