Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-04-29 | Add missing #include <stdint.h> for SIZE_MAX | Todd C. Miller | |
2015-04-25 | add check for overflow while doubling (very unlikely in practice, but still | Marc Espie | |
better style code). Problem noticed by deraadt@ in m4. okay doug@ deraadt@ | |||
2015-04-18 | Convert many atoi() calls to strtonum(), adding range checks and failure | Theo de Raadt | |
handling along the way. Reviews by Brendan MacDonell, Jeremy Devenport, florian, doug, millert | |||
2015-03-13 | remove the first comma from constructs like ", and," and ", or,": you can use | Jason McIntyre | |
"and" and "or" to join sentence clauses, and you can use commas, but both hinders reading; | |||
2015-02-28 | Reduce usage of predefined strings in manpages. | Anthony J. Bentley | |
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@ | |||
2015-02-07 | sync usage(); ok espie | Jason McIntyre | |
2015-02-07 | document -C | Marc Espie | |
2015-02-07 | add support for the popular -C option, in the least intrusive way possible: | Marc Espie | |
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@ | |||
2015-01-23 | a wee little bit more cleanup (more const and remove noise from CDIAGFLAGS... | Marc Espie | |
-pedantic kind of requires -std=c99 here to avoid LL warnings) okay miod@, millert@ | |||
2015-01-23 | typo | Marc Espie | |
2015-01-23 | remove a bunch of dangerous casts (useless casts from void * to something | Marc Espie | |
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. | |||
2015-01-16 | switch to <limits.h>; ok millert | Theo de Raadt | |
2015-01-16 | The make code has "bootstrap", to allow it to be brought up on other | Theo de Raadt | |
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. | |||
2015-01-15 | If some mythical system lacks PATH_MAX, do not set it to MAXPATHLEN+1 | Theo de Raadt | |
ok millert | |||
2015-01-13 | zap really odd code that's not actually in-use. | Marc Espie | |
okay millert@ | |||
2014-12-07 | make sure we always nul-terminate | Marc Espie | |
problem spotted by jsg@ reorg so that the nul termination is obvious. | |||
2014-11-03 | introspection feature: ${MAKEFILE_LIST} contains the list of makefiles | Marc Espie | |
parsed. name stolen from gmake, from a suggestion from guenther@, to avoid gratuitous confusin. okay guenther@, millert@ | |||
2014-10-31 | redirect error output to stderr instead of stdout | Gleydson Soares | |
stderr is always unbuffered by default, so zap fflush(3) its no longer makes any sense here reminded by espie@ OK espie@ | |||
2014-10-20 | document sinclude/-include | Marc Espie | |
2014-10-18 | enable the sinclude/-include feature support I wrote long ago. | Marc 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. | |||
2014-09-21 | plug a small memory leak, fairly infrequent. | Marc Espie | |
2014-07-16 | tweak previous; | Jason McIntyre | |
2014-07-15 | remove support for the non-standard BSDmakefile, which make tries to | Theo de Raadt | |
open first. a handful of strange ports will cope soon. ok espie | |||
2014-05-30 | modern bourne shells handle ~. Unlikely in makefiles, but still, better | Marc 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@ | |||
2014-05-18 | a bit more reallocarray (and kill ecalloc, which isn't used) | Marc Espie | |
okay chl@ | |||
2014-05-15 | remove unused variable | Charles Longeau | |
ok espie@ | |||
2014-05-12 | adjust to ohash being in libutil now, and to the interface changes. | Marc 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. | |||
2014-04-22 | pure reindent | Marc Espie | |
2014-04-22 | effectively use emult_realloc, okay guenther@ | Marc Espie | |
2014-04-14 | STANDARDS: note that make is optional | Jason McIntyre | |
ok schwarze sobrado | |||
2014-03-22 | don't use >$@ directly | Marc Espie | |
2014-03-14 | .depend is definitely not *appended* to Makefile. Its rules are also | Marc Espie | |
read after the main makefile. | |||
2014-03-14 | better wording; | Jason McIntyre | |
From: Daniel Dickman | |||
2014-02-13 | Don't use use .Tn with AND/OR/NOT | Philip Guenther | |
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@ | |||
2014-01-29 | I'm a bit dyslexic. Found out by Jan Klemkow. Thanks. | Marc Espie | |
2014-01-06 | Suff_FindDeps must happen before SuffExpandChildren (expand_all_children) | Marc Espie | |
so that dynamic variables are solved properly | |||
2014-01-06 | this actually requires a comment. I would never have figured it out if | Marc Espie | |
it wasn't for the arm error. | |||
2014-01-06 | fix error messages, avoid dereferencing null pointers. | Marc Espie | |
- 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) | |||
2013-11-24 | simplify determination of OBJDIR to what we actually use. | Marc Espie | |
(prevents some race conditions by just chdir()'ing into the right objdir) problem noticed by theo okay'd by general apathy... | |||
2013-11-22 | wrappers for is*/to* that make damn sure their arguments are | Marc Espie | |
cast to unsigned chars. okay deraadt@ | |||
2013-11-12 | Do not use a char as index, unless first making it unsigned. | Theo de Raadt | |
(signed char, ya know) ok espie | |||
2013-11-01 | silence warning | Marc Espie | |
okay guenther@ | |||
2013-10-19 | fix a few obvious .Ar markup errors (unfortunately, there are many more) | Ingo Schwarze | |
found while working on mandoc apropos | |||
2013-10-13 | this Makefile does not really help anyone bring up make | Theo de Raadt | |
ok espie | |||
2013-10-01 | in truth, noone uses these backwards compat stubs to compile make on other | Theo de Raadt | |
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. | |||
2013-08-26 | "reactivate"; | Jason McIntyre | |
make.1 part From: Christian Schulte | |||
2013-08-26 | replace rand(3)/random(3) calls with secure arc4random*() | Christian Weisgerber | |
npppd ok yasuoka@ ok millert@ | |||
2013-08-14 | some Bx/Ox conversion; | Jason McIntyre | |
From: Jan Stary | |||
2013-07-07 | old option -P bites the dust. It's not been doing anything for years. | Marc Espie | |
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. | |||
2013-06-24 | do not use literal displays when the display contains mark up; | Jason McIntyre | |