ack/util/led
George Koehler f09f14cd4d Switch from long to size_t when allocating memory.
Also move the declarations of `incore` and `core_alloc` to "memory.h".
Also correct SYMDEBUG to SYMDBUG.  (I don't know if SYMDBUG works
because our build system never defines it.)

ind_t becomes an alias of size_t.  ind_t becomes unsigned, so I edit
some code that was using negative ind_t.  Some casts disappear, like
(long)sizeof(...) because the size is already a size_t.  There are
changes to overflow checks.  Callers with a size too big for size_t
must check it before calling the memory allocator.  An overflow check
of BASE + incr in memory.c sbreak() now happens on all platforms, not
only when a pointer is smaller than a long.

My build shows no changes in share/ack/examples (except hilo_bas.*
changing with every build).
2018-11-14 12:33:25 -05:00
..
ack.out.5 Rename RELOLIS to RELOPPC_LIS. 2017-10-18 15:39:31 -04:00
archive.c Switch from long to size_t when allocating memory. 2018-11-14 12:33:25 -05:00
build.lua Delete old "assert.h" files; use libc <assert.h>. 2017-11-09 22:22:13 -05:00
const.h Signed vs unsigned lower halves of powerpc fixups are now handled by having two 2017-01-15 11:51:37 +01:00
debug.h Signed vs unsigned lower halves of powerpc fixups are now handled by having two 2017-01-15 11:51:37 +01:00
defs.h Header --> Id 1994-06-24 11:31:16 +00:00
error.c Clean up the led includes. 2017-01-18 19:55:56 +01:00
extract.c There are two places where names are added to the global symbol table; one via 2018-03-11 12:37:23 +01:00
finish.c Switch from long to size_t when allocating memory. 2018-11-14 12:33:25 -05:00
led.6 There are two places where names are added to the global symbol table; one via 2018-03-11 12:37:23 +01:00
led.layout Initial revision 1987-04-16 16:04:55 +00:00
mach.h LED builds now. 2016-08-14 14:40:01 +02:00
main.c Switch from long to size_t when allocating memory. 2018-11-14 12:33:25 -05:00
memory.c Switch from long to size_t when allocating memory. 2018-11-14 12:33:25 -05:00
memory.h Switch from long to size_t when allocating memory. 2018-11-14 12:33:25 -05:00
memory_layout Switch from long to size_t when allocating memory. 2018-11-14 12:33:25 -05:00
orig.h Header --> Id 1994-06-24 11:31:16 +00:00
output.c Switch from long to size_t when allocating memory. 2018-11-14 12:33:25 -05:00
proto.make Header --> Id 1994-06-24 11:31:16 +00:00
read.c Clean up the led includes. 2017-01-18 19:55:56 +01:00
relocate.c Remove la; turns out that the assembler gets upset if you ask it to 2018-09-14 11:30:15 +02:00
save.c Switch from long to size_t when allocating memory. 2018-11-14 12:33:25 -05:00
scan.c Switch from long to size_t when allocating memory. 2018-11-14 12:33:25 -05:00
scan.h Switch from long to size_t when allocating memory. 2018-11-14 12:33:25 -05:00
sym.c Switch from long to size_t when allocating memory. 2018-11-14 12:33:25 -05:00
sym.h There are two places where names are added to the global symbol table; one via 2018-03-11 12:37:23 +01:00
write.c Switch from long to size_t when allocating memory. 2018-11-14 12:33:25 -05:00
WRONG Adapted to current situation 1987-01-29 13:20:23 +00:00