ack/util
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 strcmp, strncmp are in <string.h> 2017-11-14 17:35:35 -05:00
amisc Allow the ELF processor flags to be set. Generate MIPS ELF executables, not 2018-09-09 14:29:34 +02:00
arch Stop using mktemp() --- on Haiku, it always generates the same filenames, 2017-08-06 13:22:05 +02:00
ass Replace fake-varargs, which doesn't work on 64-bit machines, with real varargs. 2018-06-22 22:29:52 +02:00
build Run all tests, even the ones which fail, and emit a test summary right at the 2016-12-01 23:03:30 +01:00
byacc Stop using mktemp() --- on Haiku, it always generates the same filenames, 2017-08-06 13:22:05 +02:00
ceg Distributions are a pain --- let's not bother any more. Instead, we just tag 2016-09-02 23:00:38 +02:00
cgg Made the cgg and the cg code generator work; use this to beat the PDP/11 2018-02-23 22:31:46 +01:00
cmisc Run through clang-format. 2018-06-23 23:46:44 +02:00
cpp Distributions are a pain --- let's not bother any more. Instead, we just tag 2016-09-02 23:00:38 +02:00
ego Fix bogus test. 2018-06-05 09:20:46 +09:00
flex Stop using mktemp() --- on Haiku, it always generates the same filenames, 2017-08-06 13:22:05 +02:00
grind Distributions are a pain --- let's not bother any more. Instead, we just tag 2016-09-02 23:00:38 +02:00
int Move int to $(INSDIR)/bin/int 2018-11-05 15:14:29 -05:00
led Switch from long to size_t when allocating memory. 2018-11-14 12:33:25 -05:00
LLgen Merge pull request #69 from kernigh/kernigh-stdc 2017-11-19 12:00:40 +01:00
make Distributions are a pain --- let's not bother any more. Instead, we just tag 2016-09-02 23:00:38 +02:00
mcgg Add the OPTIONS clause to the mcgg grammar; add an optional pass which converts 2018-09-22 11:19:00 +02:00
misc Use <stdarg.h> in util/misc/convert.c 2017-12-06 17:09:12 -05:00
ncgg Adopt a copy of Minix 2's ed; this allows the ACK's antiquated ed scripts to 2018-06-02 18:02:51 +02:00
opt Delete old "assert.h" files; use libc <assert.h>. 2017-11-09 22:22:13 -05:00
shf Distributions are a pain --- let's not bother any more. Instead, we just tag 2016-09-02 23:00:38 +02:00
topgen strcmp, strncmp are in <string.h> 2017-11-14 17:35:35 -05:00