summaryrefslogtreecommitdiffstats
path: root/usr.bin/make/job.c
Commit message (Collapse)AuthorAgeFilesLines
* Use STD{ERR,IN,OUT}_FILENO instead of their numeric values. Thesheldonh2001-07-261-1/+2
| | | | | | | definitions are more readable, and it's possible that they're more portable to pathalogical platforms. Submitted by: David Hill <david@phobia.ms>
* Preceed/preceeding are not english words. Use precede and preceding.asmodai2001-02-181-1/+1
|
* There's also no point in #typedef'ing void/char pointers. Accordingly,will2000-12-021-43/+43
| | | | | | rip out ClientData/Address pointers and use standard types. Obtained from: OpenBSD
* There's no reason to use fancy forms of NULL. Replace all instanceswill2000-12-021-17/+17
| | | | | | of NIL, NILLST, NILLGNODE, etc. with NULL. Obtained from: OpenBSD
* Unlink the temporary file immediately so it is removed on exit.kris2000-11-191-19/+15
| | | | Obtained from: OpenBSD
* Remove gratuitous free() call when we use special .SHELL target.ru2000-08-181-5/+0
|
* Allow use of the ${MAKE_SHELL} variable to specify alternate shells forgreen2000-08-161-0/+10
| | | | | make(1) to use. Setting it to "sh" and "ksh" are the only values which work right ATM; I wouldn't expect "csh" to get you far ;)
* Use __RCSID()wsanchez2000-07-091-6/+4
|
* Initialize variablewsanchez2000-07-091-1/+1
|
* Add loud debugging facility (-dl option) which allows programmers/developerswill2000-05-141-1/+1
| | | | | | | | | | | | to override @-prefixed commands in Makefiles. It is especially useful for debugging ports and/or complex Makefiles in such a manner that is basically a last resort, but is quite effective if the output is well-handled. I'll update the manpage after dinner. ;-) Better patch submitted by: steve Reviewed by: phk, steve, chuckr, obrien, Lyndon Nerenberg <lyndon@orthanc.ab.ca>
* Create tempfiles securely.kris2000-01-171-23/+14
| | | | Reviewed by: imp
* Unduplicate IDs from comments, do $Id -> $FreeBSD$ (submitted-by: bde)hoek1999-09-111-3/+1
|
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Fix a temp file race occurring only when -j is used.hoek1999-08-221-12/+14
| | | | | Noticed by: ru Obtained from: OpenBSD
* Merge style- and trivial- only changes from OpenBSD (dated 1999/07/29-19:55+1).hoek1999-08-171-5/+9
| | | | Obtained from: OpenBSD, sometimes indirected from NetBSD; myself
* Remove couple of 'extern int errno'. (They turned to something funny whendt1999-02-141-4/+1
| | | | <errno.h> included).
* Added a -v (verbose) option and hid multi-job file banner generationdg1998-11-141-2/+2
| | | | behind it.
* When exiting on SIGINT, exit with signal statuscracauer1998-08-241-3/+2
|
* Don't forget to pretend that `make -n -jN' makes the targets that itbde1998-06-041-1/+2
| | | | | | | | | | | | | | | | | | | | | says it pretends to make. This bug was apparently harmless except for normal cases involving .ORDER statements when it made debugging of -jN using -n very confusing. E.g., for: .ORDER: beforedepend .depend depend: beforedepend .depend where beforedepend depends on something so that it is not initially up to date, `make [-n] -j2 depend' causes `make' to wait for itself to make beforedepend. This works fine without -n. The job to make beforedepend has normally been started, and beforedepend is marked as made when the job completes. However, with -n, the pseudo-job for making beforedepend has normally completed, and in any case there was no chance of beforedepend being marked as made. `make' actually exited almost immediately with status 0 instead of waiting forever.
* Use historically correct error message in some cases, optionally.imp1998-04-281-2/+11
|
* Revert $FreeBSD$ to $Id$peter1997-02-221-1/+1
|
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-141-1/+1
| | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* O' to be bitten by CVS. Cleanup after importsteve1996-10-081-0/+2
| | | | | | of Christos' version of make(1) and add Id's. Set straight by: Bruce Evans and Peter Wemm :)
* Merge in NetBSD's changes to make(1). Changes include:steve1996-10-061-538/+975
| | | | | | | | | | | | | | | | - Add the .PHONY, .PARALLEL, and .WAIT directives - Added the -B and -m commandline flags - misc. man page cleanups - numerous job-related enhancements - removed unused header file (bit.h) - add util.c for functions not found in other envs. - and a few coordinated whitespace changes Special thanks to Christos Zoulas <christos@netbsd.org> for help in the merge. A 'diff -ur' between Net and FreeBSD now only contains sccsid-related diffs. :) Obtained from: NetBSD, christos@netbsd.org, and me
* Remove trailing whitespace.rgrimes1995-05-301-72/+72
|
* Bring in a number of changes from NetBSD's make, fixing quite a fewjkh1995-01-231-41/+48
| | | | | | | | | | | | problems in the process: 1. Quoting should work properly now. In particular, Chet's reported bash make problem has gone away. 2. A lot of memory that just wasn't being free'd after use is now freed. This should cause make to take up a LOT less memory when dealing with archive targets. 3. Give proper credit to Adam de Boor in a number of files. Obtained from: NetBSD (and Adam de Boor)
* BSD 4.4 Lite Usr.bin Sourcesrgrimes1994-05-271-0/+2661
OpenPOWER on IntegriCloud