NetBSD/usr.bin/make
rillig 9cc1256284 make(1): use a stack instead of a list for the nested include path
By using a Stack instead of a Lst, the available API is reduced to the
very few functions that are really needed for a stack.  This prevents
accidental misuse (such as confusing Lst_Append with Lst_Prepend) and
clearly communicates what the expected behavior is.

A stack also needs fewer calls to bmake_malloc than an equally-sized
list, and the memory is contiguous.  For the nested include path, all
this doesn't matter, but the type is so generic that it may be used in
other places as well.
2020-09-04 17:59:36 +00:00
..
filemon Use O_CLOEXEC and save a syscall. 2020-07-10 15:53:30 +00:00
PSD.doc Improve appearance (a little) when read with nroff, rather than troff 2017-03-01 13:05:11 +00:00
unit-tests make(1): add test for the special variable MAKEFILE 2020-09-04 17:05:39 +00:00
.cvsignore make(1): ignore gcov files for CVS 2020-07-27 18:59:56 +00:00
arch.c make(1): rename Lst_Datum to LstNode_Datum 2020-08-30 11:15:05 +00:00
buf.c make(1): clean up code in buf.c 2020-08-23 08:21:50 +00:00
buf.h make(1): clean up documentation in buf.h, and redundant include files 2020-09-01 17:38:26 +00:00
compat.c make(1): remove unreachable code from CompatRunCommand 2020-08-30 20:08:47 +00:00
cond.c make(1): document use of magic values in CondDoEmpty 2020-09-03 17:16:01 +00:00
config.h make(1): mark LIBSUFF and RECHECK as independent build options 2020-09-01 17:40:34 +00:00
dir.c make(1): fix cached_stat for files with st_mtime 0 2020-09-02 04:32:13 +00:00
dir.h make(1): reduce number of stat fields returned by cached_stat 2020-09-02 04:08:54 +00:00
enum.c make(1): improve documentation for enum.c and enum.h 2020-09-01 20:34:51 +00:00
enum.h make(1): improve documentation for enum.c and enum.h 2020-09-01 20:34:51 +00:00
for.c make(1): unexport For_Iterate 2020-09-04 17:35:00 +00:00
hash.c make(1): rename Hash_Table fields 2020-09-01 21:11:31 +00:00
hash.h make(1): rename Hash_Table fields 2020-09-01 21:11:31 +00:00
job.c make(1): replace brk_string with Str_Words 2020-08-30 19:56:02 +00:00
job.h make(1): remove ReturnStatus, SUCCESS and FAILURE 2020-08-29 12:20:17 +00:00
lst.c make(1): use a stack instead of a list for the nested include path 2020-09-04 17:59:36 +00:00
lst.h make(1): use a stack instead of a list for the nested include path 2020-09-04 17:59:36 +00:00
main.c make(1): replace brk_string with Str_Words 2020-08-30 19:56:02 +00:00
make_malloc.c make(1): remove redundancy from comments in make_malloc.c 2020-09-02 06:10:44 +00:00
make_malloc.h make(1): fix build with -DUSE_EMALLOC 2020-08-29 16:47:45 +00:00
make.1 make(1): fix manual page about the modifiers of the :C modifier 2020-08-28 17:15:04 +00:00
make.c make(1): rename GNode.iParents to implicitParents 2020-08-30 14:11:42 +00:00
make.h make(1): document the value restrictions for Boolean variables 2020-09-02 23:42:58 +00:00
Makefile make(1): remove filemon object files on clean 2020-09-01 17:12:30 +00:00
Makefile.boot make(1): clean up Makefile.boot 2020-08-09 15:54:13 +00:00
meta.c make(1): reduce number of stat fields returned by cached_stat 2020-09-02 04:08:54 +00:00
meta.h make(1): remove trailing whitespace 2020-07-03 08:13:23 +00:00
metachar.c make(1): replace end-of-line comments with block comments 2020-08-03 20:43:41 +00:00
metachar.h make(1): allow make to be compiled in C90 mode 2020-08-25 17:37:09 +00:00
nonints.h make(1): migrate Var_Parse API to parsing position 2020-09-03 18:19:15 +00:00
parse.c make(1): use a stack instead of a list for the nested include path 2020-09-04 17:59:36 +00:00
pathnames.h
str.c make(1): replace brk_string with Str_Words 2020-08-30 19:56:02 +00:00
strlist.c make(1): allow make to be compiled in C90 mode 2020-08-25 17:37:09 +00:00
strlist.h make(1): follow naming conventions for multiple-inclusion guards 2020-08-13 03:54:57 +00:00
suff.c make(1): fix compilation for -DNDEBUG and -O3 2020-08-31 16:44:25 +00:00
targ.c make(1): inline constant for hash table size 2020-09-01 20:54:00 +00:00
test-variants.sh make(1): extend the documentation for the test variants 2020-08-31 18:57:41 +00:00
trace.c make(1): no declaration-after-statement anymore 2020-08-03 20:26:09 +00:00
trace.h
util.c make(1): use consistent indentation in source code 2020-08-01 14:47:49 +00:00
var.c make(1): migrate ApplyModifier_Defined to Var_ParsePP 2020-09-03 18:53:46 +00:00