NetBSD/usr.bin/make
joerg bd681a4d7e Don't use emalloc and friends directly, but call them consistently
bmake_malloc and friends. Implement them via macros for the native case
and provide fallback implementations otherwise. Avoid polluting the
namespace by not defining enomem globally. Don't bother to provide
strdup and strndup, they were only used for the estrdup and estrndup
comapt code.

This addresses the presence of emalloc in system libraries on A/UX and
resulted strange issues as reported by Timothy E. Larson.
2008-10-06 22:09:21 +00:00
..
lst.lib Don't use emalloc and friends directly, but call them consistently 2008-10-06 22:09:21 +00:00
PSD.doc Fit ASCII output onto an 80-column terminal. From FreeBSD. 2004-06-27 19:12:33 +00:00
unit-tests VAR_CMD context is used by conditionals and other purposes, so 2008-05-15 21:05:54 +00:00
arch.c Don't use emalloc and friends directly, but call them consistently 2008-10-06 22:09:21 +00:00
buf.c Don't use emalloc and friends directly, but call them consistently 2008-10-06 22:09:21 +00:00
buf.h back all changes out until I fix it properly. 2008-02-15 21:29:50 +00:00
compat.c back all changes out until I fix it properly. 2008-02-15 21:29:50 +00:00
cond.c back all changes out until I fix it properly. 2008-02-15 21:29:50 +00:00
config.h Make it easier for the build environment (such as a configure script) 2007-10-14 20:22:53 +00:00
dir.c Don't use emalloc and friends directly, but call them consistently 2008-10-06 22:09:21 +00:00
dir.h back all changes out until I fix it properly. 2008-02-15 21:29:50 +00:00
for.c Don't use emalloc and friends directly, but call them consistently 2008-10-06 22:09:21 +00:00
hash.c Don't use emalloc and friends directly, but call them consistently 2008-10-06 22:09:21 +00:00
hash.h Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 11:13:06 +00:00
job.c Don't use emalloc and friends directly, but call them consistently 2008-10-06 22:09:21 +00:00
job.h back all changes out until I fix it properly. 2008-02-15 21:29:50 +00:00
lst.h Return the non-zero value that caused the Lst_ForEach[From] call to 2006-11-11 21:23:36 +00:00
main.c Don't use emalloc and friends directly, but call them consistently 2008-10-06 22:09:21 +00:00
make.1 Drop trailing whitespace. Use .Dq. 2008-08-10 23:25:50 +00:00
make.c back all changes out until I fix it properly. 2008-02-15 21:29:50 +00:00
make.h back all changes out until I fix it properly. 2008-02-15 21:29:50 +00:00
Makefile Don't use emalloc and friends directly, but call them consistently 2008-10-06 22:09:21 +00:00
Makefile.boot Simplify build, no functional changes. 2004-05-07 00:04:38 +00:00
nonints.h Don't use emalloc and friends directly, but call them consistently 2008-10-06 22:09:21 +00:00
parse.c Don't use emalloc and friends directly, but call them consistently 2008-10-06 22:09:21 +00:00
pathnames.h revert previous for now 2005-06-24 04:33:25 +00:00
sprite.h More KNF cleanups from Max Okumoto 2005-08-05 00:53:18 +00:00
str.c Don't use emalloc and friends directly, but call them consistently 2008-10-06 22:09:21 +00:00
suff.c Don't use emalloc and friends directly, but call them consistently 2008-10-06 22:09:21 +00:00
targ.c Don't use emalloc and friends directly, but call them consistently 2008-10-06 22:09:21 +00:00
trace.c Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
trace.h Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
util.c Don't use emalloc and friends directly, but call them consistently 2008-10-06 22:09:21 +00:00
var.c Don't use emalloc and friends directly, but call them consistently 2008-10-06 22:09:21 +00:00