home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Club Amiga de Montreal - CAM
/
CAM_CD_1.iso
/
files
/
118.lha
/
Rez.3
/
IF.AZTEC
< prev
next >
Wrap
Text File
|
1986-11-20
|
1KB
|
28 lines
Once REZ started working I discovered a number of programs that were not
shareable even though they were using the Aztec small model. In particular,
the compiler and make fall into these categories. The problem in the
compiler was that there was a section that went like:
char *bra;
bra = "bxx";
strcpy(bra+1, branches[index]);
Unfortunately, this meant that the "bxx" was stored in the code segment
and modified by the program while executing. The new (3.6b?, 4.1a?) version
looks like:
char bra[] = "bxx";
which is just fine. In the meantime, the included patch program will fix
this problem in either 3.6a or 3.4b. All it needs is for the compiler to
be in the current directory and to be called either "cc34b" or "cc36a".
The problem with make is more severe and invlolves my fexec() function which
needed to save the stack someplace while running the sub-process. It stored
it in the code segment making it non-shareable. For the time being, the
safest thing to do is to do "rez -n make" till I have a patch or a new
version of fexec().