Age | Commit message (Collapse) | Author |
|
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.
|
|
|
|
|
|
ok schwarze sobrado
|
|
|
|
read after the main makefile.
|
|
From: Daniel Dickman
|
|
Phrase any "The _flags_ argument is the ..." line consistently,
eliminating unnecessary use of 'inclusive' and saying "zero or more"
or "one or more" as appropriate
ok millert@ jmc@ schwarze@
|
|
|
|
so that dynamic variables are solved properly
|
|
it wasn't for the arm error.
|
|
- the code becomes too indented, pull it into a separate function
- add an extra hint, the current_gnode.
- specifically, variables may be expanded during
target: prereq solving in Suff_FindDeps, this is after parsing,
not during command execution, and the only actual indication with have is
that we're resolving a prereq of.
(this ought to fix mk35, and partially solve mk34)
|
|
(prevents some race conditions by just chdir()'ing into the right objdir)
problem noticed by theo
okay'd by general apathy...
|