Age | Commit message (Collapse) | Author |
|
It used to control pipes for parallel output, but the new model means
pipes are no longer used at all.
Its mere presence confuses some people.
tested thru a few builds and bulk to not impact anything.
|
|
|
|
thx Caspar Schutijser
|
|
fix set -e description, as we actually match what posix says.
a bit of feedback from millert@, guenther@, jmc@ will probably have
further fixes when he's back :)
|
|
problem seen by aja,
make pointed by matthieu,
sleuthing by me,
okay by millert
(and you say OpenBSD developers don't work together)
|
|
(noticed by sthen@/matthieu@)
|
|
the extra field.
remove some extra abstraction layer: use clock_gettime directly
instead of ts_set_from_now (what is "now" anyways)
time_to_string takes param by pointer
rename "now" into starttime (more accurate term)
randomize queue uses arc4random_uniform (prompted by deraadt@)
display debug timestamp with ns too (it's debug, so it doesn't really
matter whichever way it's done, as long as it's done)
okay millert@
|
|
in -dm mode.
okay millert@
|
|
|
|
okay millert@
|
|
while there, clean up includes.
use strtoll for ar timestamps (pretty much unused in reality, more
standard conforming than anything)
use idea from Todd to adapt to time_t being 32 bits OR 64 bits
(pedantically correct: INT_MIN would work just fine up to 1910 or so...)
okay millert@, gone thru a make build.
|
|
|
|
ok espie
|
|
while expanding it.
shows up very prominently with MALLOC_OPTIONS=S
Problem found by jasper@
okay'd by jasper@ and kind-of duh'd by miod@
|
|
|
|
- pref -> prefix as pref is somewhat ambiguous
- rework tests so loop doesn't intend off the screen
- zap unneeded variable
okay krw@
|
|
|
|
notice that Job_Finish() really returns a boolean, so unconfuse
that accordingly (it's likely the extra Fatal() message is not
needed and we could just call finish)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
okay beck@
|
|
okay beck@
|
|
unknown keywords.
uniform white space handling.
okay beck@
|
|
okay beck@
|
|
of prerequisites. This prevents complaints from the var module and from
other developers.
That's a bug I introduced 5 years ago... found out by miod@
okay miod@
|
|
this was yet another weirdness in our make that isn't shared by
other makes, and that isn't part of any standard.
This means end-of-line spaces in variables ARE significant (spaces
around the equal sign still aren't).
okay sthen@, "sounds fine" deraadt@
|
|
problem found by Tobias Ulmer.
|
|
- do ^C checking differently: don't record sent signals, but when jobs
die, recheck whether we received/have pending a INT/QUIT/TERM/HUP signal.
Then don't display our process group "normally", instead group together
everything dying by signal/shell dying by signal (just give the target
names).
- make certain we always handle signals before dying from "other conditions"
- have the parser messages look more like normal messages
- remove double error messages from some parser errors
- make sure unclosed variables ARE errors when some modifiers are present
- keep track of the base directory we're run from, so that submakes can
get shortened directories...
- make sure the whole error message including silent command fits into a
reasonable length.
okay millert@
|
|
|
|
especially bad during runtime as we trap ^C.
For instance ${A:C/-*//g}. Problem found by rpe@
Do the same as other modern tools: advance by one char and repeat, so
that there's at most one empty word match at each position.
okay millert@
|
|
|
|
okay millert@
|
|
|
|
Actually less ambiguous than .if target().
|
|
definitely non portable behavior.
discussed with millert@, who rightfully insisted on the optional debug part
|
|
namely:
- targets that ARE the same file shouldn't build concurrently.
- targets in the same group (e.g., file.c file.c: file.y) shouldn't build
concurrently.
This probably fixes all the remaining races in make -j4 build in src.
|
|
construction
|
|
deraadt@, millert@
|
|
- nodes for .POSIX and .SCCS_GET (which don't do anything)
- zap remaining suffix crud.
new scaffolding:
- groupling list and HELDBACK state to avoid races in engine.
- parser recognizes lists of targets that shoul be grouped together
- OP_DOUBLE to mark nodes that have multiple lists of commands
|
|
targets is actually separate targets.
|
|
|
|
feedback & ok jmc@
|
|
signal because the process already bought it (pgroups will do that to you)
(lots of discussion with Todd on that one)
- tweak error handling some more to make it less verbose when just one job
is running...
- show signal name in case of signal interrupts.
- zap OP_LIB, move that stuff to the location where we warn when we meet
that bug.
okay millert@
|
|
some input from jmc@, might not be 100% perfect yet, but better than
nothing at all.
|
|
in stdin interaction.
Fixes update-patches as reported by aja...
|