freebsd-nq/usr.bin/make
Hartmut Brandt 4eb51779c8 Overhaul the fork(), exec() code. Put all the common handling that
takes place in the child process in a function ProcExec(). Make sure,
that the child does not call malloc() or other potential dangerous
functions (there are still calls to Punt() in the error case that
should go away). Allocate the argv string via malloc to overcome
the non-constness bug of the execvp prototype. Change the handling of
shell meta-characters and move the builtin list near the list of shell
builtins. Both of these lists should actuall be configurable by the .SHELL
target since they depend on the shell used.

Patch:		7.21[2-9], 7.22[0-46]
Submitted by:	Max Okumoto <okumoto@ucsd.edu>
2005-05-12 10:40:57 +00:00
..
PSD.doc Remove another unused Makefile. 2003-02-03 04:15:53 +00:00
arch.c Move the definitions of the OP_* constants from make.h into GNode.h 2005-05-10 14:27:04 +00:00
arch.h Almost complete rewrite of the archive code (except for the Makefile parsing 2005-03-31 11:35:56 +00:00
buf.c Move the MAX macro to a util.h so it becomes usable in other modules. 2005-03-31 11:12:45 +00:00
buf.h Two new functions: Buf_Data() returns a reference to the data in 2005-03-22 07:42:51 +00:00
cond.c Implement a pseudo-target .WARN that allows toggeling the warning flags 2005-04-29 14:37:44 +00:00
cond.h Rework the directive parsing code. Instead of using a lot of strcmp()s 2005-04-11 07:20:10 +00:00
config.h Clean up include files and file including. Split nonints.h into pieces 2005-02-01 10:50:37 +00:00
dir.c Make paths an explicite datatype instead of using the generic Lst. 2005-03-23 12:56:15 +00:00
dir.h Make paths an explicite datatype instead of using the generic Lst. 2005-03-23 12:56:15 +00:00
for.c Var_SubstOnly() is only used to subsitute a variable from the global 2005-05-10 12:02:15 +00:00
for.h Rework the directive parsing code. Instead of using a lot of strcmp()s 2005-04-11 07:20:10 +00:00
globals.h Move declarations of variables belonging to the variable module 2005-05-10 14:16:40 +00:00
GNode.h Move the definitions of the OP_* constants from make.h into GNode.h 2005-05-10 14:27:04 +00:00
hash_tables.c Introduce a new pseudo-target .EXPORTVAR which allows to put a 2005-05-06 18:30:06 +00:00
hash_tables.h Rename the directive_hash.[ch] files to hash_tables.[ch] now 2005-04-29 15:15:28 +00:00
hash.c Clean up include files and file including. Split nonints.h into pieces 2005-02-01 10:50:37 +00:00
hash.h Clean up include files and file including. Split nonints.h into pieces 2005-02-01 10:50:37 +00:00
job.c Overhaul the fork(), exec() code. Put all the common handling that 2005-05-12 10:40:57 +00:00
job.h Make shellPath and shellName static - they're used in job.c only. 2005-05-10 14:06:19 +00:00
lst.c Style: fix indentation. 2005-04-01 11:20:17 +00:00
lst.h Remove debugging code that crept in in the last commit. 2005-03-22 12:52:00 +00:00
main.c Path_Expand() expects its first argument to be writeable so put the 2005-05-10 14:23:31 +00:00
make.1 Document the new -A flag for ignoring archive errors. 2005-03-31 11:40:53 +00:00
make.c Move the definitions of the OP_* constants from make.h into GNode.h 2005-05-10 14:27:04 +00:00
make.h Move the definitions of the OP_* constants from make.h into GNode.h 2005-05-10 14:27:04 +00:00
Makefile Merge compat.c into job.c. There is a lot in common between these 2005-05-10 13:45:29 +00:00
Makefile.dist Move all the remaining list functions into one C-file and remove 2005-02-01 15:28:41 +00:00
parse.c Move the remaining two prototypes from nonints.h to make.h and 2005-05-10 14:10:44 +00:00
parse.h Move the definitions of the OP_* constants from make.h into GNode.h 2005-05-10 14:27:04 +00:00
pathnames.h Remove leading underscores from the pathname defines. All identifiers 2005-03-11 13:02:38 +00:00
sprite.h Clean up include files and file including. Split nonints.h into pieces 2005-02-01 10:50:37 +00:00
str.c Style: fix indentation. 2005-04-01 13:06:05 +00:00
str.h Constify the input argument to brk_string. 2005-03-07 16:10:39 +00:00
suff.c Split Var_Subst() into two functions: Var_SubstOnly() which substitutes 2005-05-09 14:06:04 +00:00
suff.h Make paths an explicite datatype instead of using the generic Lst. 2005-03-23 12:56:15 +00:00
targ.c Move some debugging code from targ.c to var.c where it actually belongs. 2005-05-10 08:14:26 +00:00
targ.h Some more easy constification. 2005-02-04 07:51:00 +00:00
util.c Simplify the print routines by using LST_FOREACH instead of Lst_ForEach 2005-03-11 13:24:08 +00:00
util.h Move the MAX macro to a util.h so it becomes usable in other modules. 2005-03-31 11:12:45 +00:00
var.c Move the remaining two prototypes from nonints.h to make.h and 2005-05-10 14:10:44 +00:00
var.h Move declarations of variables belonging to the variable module 2005-05-10 14:16:40 +00:00