summaryrefslogtreecommitdiffstats
path: root/usr.bin/make/job.c
Commit message (Expand)AuthorAgeFilesLines
* Fix the "..." special command. If this command is found all furtherharti2005-07-191-1/+1
* The caller of Var_Value() should not change the variable value. Makeharti2005-05-241-1/+1
* Get rid of the third argument to Var_Value() the pointer it pointedharti2005-05-241-17/+5
* Factor out ProcExec() into its own file and rename it to Proc_Exec() forharti2005-05-241-121/+4
* Factor out all the .SHELL parsing related stuff into its own file andharti2005-05-241-472/+1
* Use the name of the default shell instead of a numeric index to selectharti2005-05-241-1/+1
* Another shell attribute 'unsetenv' that will cause to unsetenv("ENV")harti2005-05-241-8/+13
* Before doing any parsing parse the builtin shell specifications andharti2005-05-241-178/+195
* Allow the .SHELL target to specify the list of shell meta characters andharti2005-05-241-289/+305
* Get rid of global variables for argument vectors produced by brk_string()harti2005-05-181-35/+38
* Get rid of the ReturnStatus obscuration that was anyway used onlyharti2005-05-181-9/+9
* Make Shell_Init() static - it's only used here.harti2005-05-131-9/+9
* Include <err.h>. On my system CVS Make(1) has an implicit declaration ofjmallett2005-05-121-0/+1
* Get rid of the warning about vfork() clobbering variables.harti2005-05-121-4/+9
* Do mktemp() by hand to get rid of the mktemp() warning and theharti2005-05-121-17/+102
* The first element of the vector built by brk_string() is neverharti2005-05-121-2/+7
* Cleanup main(). Move catching SIGCHLD into job.c. Move unsetenv("ENV")harti2005-05-121-0/+32
* Compat_RunCommand is used only in job.c so make it static there.harti2005-05-121-1/+2
* Fix the fix for bin/72510 applied in job.c:1.70. Actually there haveharti2005-05-121-1/+6
* Untwist the convoluted if() expressions in JobFinish(). Theyharti2005-05-121-106/+174
* Move some comments around to where they belong and remove some unneccessaryharti2005-05-121-39/+34
* Convert Compat_RunCommand() to use ProcWait(). This also gives Cmd_Exec()harti2005-05-121-73/+68
* Make a function ProcWait() that waits for the given process.harti2005-05-121-20/+31
* Overhaul the fork(), exec() code. Put all the common handling thatharti2005-05-121-167/+222
* Style: remove spaces before tabs.harti2005-05-101-31/+31
* Make shellPath and shellName static - they're used in job.c only.harti2005-05-101-2/+2
* Make the three versions of fork() more uniform.harti2005-05-101-63/+63
* Move the defines for TMPPAT and KQUEUE from the public job.h into job.charti2005-05-101-0/+12
* Merge compat.c into job.c. There is a lot in common between theseharti2005-05-101-1/+702
* Move Cmd_Exec() from main.c to job.c and fix its prototype. Thisharti2005-05-101-0/+110
* Split Var_Subst() into two functions: Var_SubstOnly() which substitutesharti2005-05-091-5/+5
* Mostly stylistic changes: remove the noPLen field from the Shellharti2005-04-071-64/+67
* There is not much sense in having an else after Punt() and _exit() whichharti2005-04-051-48/+56
* Put parantheses into 'if (foo && bar & flag)'. While they are not strictlyharti2005-04-051-2/+2
* Remove lots if irritating parantheses and fix two comments.harti2005-04-051-28/+28
* Remove the definition for STATIC and just use static.harti2005-04-051-10/+8
* Remove unneccessary local prototypes.harti2005-04-051-7/+0
* The static tfile is used only in one single function so move it into thatharti2005-04-051-6/+1
* The tfile field of struct Job isn't used anymore since revision 1.22 soharti2005-04-051-3/+0
* Use a type-safe intrusive list to put jobs on the jobs or stoppedJobs listharti2005-04-011-40/+36
* Both struct Job and struct Shell are only used inside job.c so there isharti2005-04-011-11/+172
* Style: fix indentation.harti2005-04-011-1882/+1818
* Simplify buffer access by using Buf_Data() and Buf_Peel() whereharti2005-03-221-4/+1
* Replace Lst_Find calls with LST_FOREACH loops. This helps inharti2005-03-181-23/+8
* Replace Lst_ForEach by LST_FOREACH.harti2005-03-161-36/+9
* Remove leading underscores from the pathname defines. All identifiersharti2005-03-111-2/+2
* Use the LST_FOREACH macro instead of the Lst_ForEach function. Thisharti2005-03-021-18/+24
* Change the return value of Var_Subst to return a Buffer insteadharti2005-02-251-3/+15
* Initialise the status variable. W_SETTERMSIG uses its value.harti2005-02-101-0/+1
* Use tabs to move to the comments instead of wild mixes of tabs and spaces.harti2005-02-041-14/+14
OpenPOWER on IntegriCloud