[net.micro.amiga] Aztec C patches for V1.2

louie@umd5 (Louis Mamakos) (09/27/86)

I just got an issue of AmigaMail, the C-A developer's newsletter.  One of the
few things in there that I hadn't already seen in this newsgroup is a patch for
Aztec to make it run under V1.2.  It seems that the fexec() function compiled
into the 'make' and 'cc' programs don't function under 1.2 correctly, so that
make can't invoke programs and cc can't chain to the assembler.  The patch
makes it work for 1.2, but not for 1.1.   Be sure to make a copy before
doing the patch.  

The patch is in the form of a program.  Make sure cc and make are in the
current directory before running it.

main()
{
	int fd;

	fd = open("cc", 2);
	lseek(fd, 0xd51fL, 0);
	write(fd, "\xa8", 1);
	close(fd);

	fd = open("make", 2);
	lseek(fd, 0x1d37L, 0);
	write(fd, "\xa8", 1);
	lseek(fd, 0x2063L, 0);
	write(fd, "\xa8", 1);
	close(fd);
}

That's all to it.  Enjoy!

-- 
Louis A. Mamakos WA3YMH   University of Maryland, Computer Science Center
 Internet: louie@trantor.umd.edu
 UUCP: {seismo!umcp-cs, ihnp4!rlgvax}!cvl!umd5!louie