Age | Commit message (Collapse) | Author |
|
ok espie@
|
|
children from other parts of the program.
In that case, there's no reason to try to catch other process.
1/ they don't exist
2/ if they did, stealing their status would be bad.
okay deraadt@
|
|
fprintf(stderr, ...) with strerror(3) and exit(3). Make sure the exit
status is 2 if an error occurred. Prompted by gsoares@'s and jsg@'s
audit of exit statuses after failure of pledge(2).
ok gsoares@
|
|
OK tb@ jsg@
|
|
various problems.
Problem noticed by jsg@, deeper patch than he suggested
okay jsg@ and tb@.
|
|
ok espie@
|
|
|
|
in two. Catch 22: we have to dedup targets very early so that commands get
attached correctly, but we can't figure out the grouplings heuristics until
we have all commands...
ok millert@
|
|
ok espie@
|
|
ok espie
|
|
can have duplicates, or overlap, or even be empty thanks to fnmatch.
So use the big guns to build the circular list correctly, namely
actual lists of targets that are made together will be registered in a
hash first, then we recreate the full list from there.
(merging lists is not an issue, since groupling links are only used to
temporarily lock targets in parallel mode).
Issue noticed by guenther@, okay guenther@
|
|
|
|
Mostly diff by Daniel Dickman, who told me to commit in his stead,
as he's tied up at work.
|
|
|
|
to only need these operations. Take note that "exec" is a 2-day old
tame request, so do get a new kernel before you update or risk getting
trapped.
|
|
their kernels, before it starts using the new "exec" primitive.
HINT: everyone, update your kernels, tame is coming to make really soon.
|
|
|
|
mismatches this revealed
ok espie@
|
|
ok espie@
|
|
ok krw millert
|
|
okay tedu@, millert@, tweaks by millert@
|
|
|
|
better style code). Problem noticed by deraadt@ in m4.
okay doug@ deraadt@
|
|
handling along the way.
Reviews by Brendan MacDonell, Jeremy Devenport, florian, doug, millert
|
|
"and" and "or" to join sentence clauses, and you can use commas, but both hinders
reading;
|
|
Predefined strings are not very portable across troff implementations,
and they make the source much harder to read. Usually the intended
character can be written directly.
No output changes, except for two instances where the incorrect escape
was used in the first place.
tweaks + ok schwarze@
|
|
|
|
|
|
parse thru parameters for -C upfront, and then we can setup CURDIR/OBJDIR
so as not to disturb anything else.
okay millert@, "makes sense" guenther@
|
|
-pedantic kind of requires -std=c99 here to avoid LL warnings)
okay miod@, millert@
|
|
|
|
else, in some cases by adding extra temporary variables.
IMO, it's much better practice to do
void *a;
int *p = a;
*p = 42;
rather than
void *a;
*(int *)a = 42;
okay miod@... to be revisited for some possible const additions later.
|
|
|
|
systems. Rarely used & tested -- perhaps once a decade. Perhaps not
even once this decade? Anyways,
#define PATH_MAX (MAXPATHLEN+1)
is quite wrong. Delete the chunk, assuming any system this is ported
to has PATH_MAX.
|
|
ok millert
|
|
okay millert@
|
|
problem spotted by jsg@
reorg so that the nul termination is obvious.
|
|
parsed.
name stolen from gmake, from a suggestion from guenther@, to avoid
gratuitous confusin.
okay guenther@, millert@
|
|
stderr is always unbuffered by default, so zap fflush(3) its no longer makes any sense here
reminded by espie@
OK espie@
|
|
|
|
Other systems now have it, xenocara is using it.
talked over with kettenis@ who checked release still works.
I did a full bulk build with this and did not notice any issue.
|
|
|
|
|
|
open first. a handful of strange ports will cope soon.
ok espie
|
|
fork a shell then (as seen in a commit message in netbsd's make, apparently
taken from debian. didn't look at the actual code, but it was a "duh" moment)
okay millert@
|
|
okay chl@
|
|
ok espie@
|
|
fix potential integer overflows in memory allocation (mostly for pedagogical
purposes, these are unlikely to overflow in practice)
move the rest of lst.lib stuff into its own directory.
|
|
|
|
|