Commit Graph

13 Commits

Author SHA1 Message Date
Fergus Henderson
c64f94973c #include <stdlib.h>, since we use `size_t'.
runtime/std.h:
	#include <stdlib.h>, since we use `size_t'.
	(This missing #include apparently caused some portability problems.)
1995-10-24 07:22:31 +00:00
Fergus Henderson
37b8db59d6 Remove the last remaining occurrences of the until', or', `when', and
std.h, memory.c, wrapper.mod:
	Remove the last remaining occurrences of the `until', `or', `when', and
	`otherwise' macros.
1995-05-29 08:59:46 +00:00
Zoltan Somogyi
19bcfcbab4 Now memory diagnostics are printed on stderr.
memory.c:
	Now memory diagnostics are printed on stderr.

wrapper.mod, memory.c:
	Convert whens to cases and ors to else ifs.

other files:
	copyright notices.
1995-05-29 02:04:10 +00:00
Fergus Henderson
3fc5389b53 Add copyright notices.
runtime/*:
	Add copyright notices.
1995-03-30 21:57:11 +00:00
Fergus Henderson
f175dd9930 Don't source .gdbinit.arch, since it seems to have suffered
.gdbinit:
	Don't source .gdbinit.arch, since it seems to have suffered
	software rot.

aux.c, std.h, imp.h, access.c, iface.mod, prof.c:
	Make sure that all memory allocation goes through
	newmem(), resizemem() and oldmem().
	Fix those functions so that they work with conservative
	garbage collection.
1995-02-21 19:27:26 +00:00
Fergus Henderson
f3b01045f0 Define Integer' to be a signed type the same size as Word'.
imp.h:
	Define `Integer' to be a signed type the same size as `Word'.

imp.h, io.mod:
	Replace incr_hp/1 macro with incr_hp/2.

list.c, std.h:
	Various minor cleanups.

tags.h:
	Replace all the casts to `unsigned' and `uint' with cases
	to `Word'.
1995-01-14 16:28:53 +00:00
Zoltan Somogyi
3983e8a6a8 Added a configuration file conf.h and centralized OS-dependent #defines there.
The SEGV handler will now progressively unprotect the various redzones
when required.

Fixed a bug in the Cakefile: "cake clean" now works properly.
1994-08-02 08:39:01 +00:00
Fergus Henderson
f3f7cce60b ANSIfy everything: use const, use assert(), use <stdlib.h>.
Replace uses of "Cast" with "void *".
In list.[ch], use a union instead of ugly non-portable casts.
1993-12-18 04:11:41 +00:00
Zoltan Somogyi
f5e3ecb098 adding first draft of interface code 1993-12-01 05:55:51 +00:00
Fergus Henderson
f918d5de34 Fixed various minor bugs (missing casts, incompatibilities between
the .mod files and the portable implementation.)
Improved the mod2c process slightly (The .c files are readonly and
have a header "this was generated automatically - do not edit".)
1993-10-21 09:34:49 +00:00
Fergus Henderson
6da9f790ce Added #ifndef guards to the header files. 1993-10-19 23:32:20 +00:00
Fergus Henderson
71c6bbcbf7 Cleaned things up a bit; it now compiles cleanly with -ansi -Wall -Wetc. 1993-10-14 05:32:51 +00:00
Zoltan Somogyi
782998128d initial creation 1993-10-13 23:58:05 +00:00