Age | Commit message (Collapse) | Author |
|
|
|
|
|
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...
|
|
cast to unsigned chars.
okay deraadt@
|
|
(signed char, ya know)
ok espie
|
|
okay guenther@
|
|
found while working on mandoc apropos
|
|
ok espie
|
|
systems. the replacements in here are the least of their worries, and they
shouldn't rely on these things from the 80's. time for make to grow up,
and use whatever is common today.
|
|
make.1 part From: Christian Schulte
|
|
npppd ok yasuoka@
ok millert@
|
|
From: Jan Stary
|
|
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@
|