public
/
ack.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
53bda08
)
made to compile on Xenix
author
ceriel
<none@none>
Tue, 12 Jul 1988 14:19:03 +0000
(14:19 +0000)
committer
ceriel
<none@none>
Tue, 12 Jul 1988 14:19:03 +0000
(14:19 +0000)
mach/proto/ncg/subr.c
patch
|
blob
|
history
diff --git
a/mach/proto/ncg/subr.c
b/mach/proto/ncg/subr.c
index
fd558b4
..
ca15509
100644
(file)
--- a/
mach/proto/ncg/subr.c
+++ b/
mach/proto/ncg/subr.c
@@
-411,8
+411,12
@@
int aside_length = -1 ;
save_stack(tp) register token_p tp ; {
int i ;
+ token_p tmp = &fakestack[stackheight - 1];
- aside_length = &fakestack[stackheight-1] -tp;
+ /*aside_length = &fakestack[stackheight-1] -tp;
+ This did not compile on Xenix V3.2: CODE GENERATION ERROR!
+ */
+ aside_length = tmp - tp;
assert(aside_length<=MAXSAVE);
#ifndef NDEBUG
if (aside_length!=0 && Debug>1)