Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | document brk_string slightly better | 2019-05-21 | 1 | -4/+6 | |
| | | | | | remove the comment about .MAKE, since that's only true when called from main, and explain about the other parameters | ||||
* | fix very stupid bug. | 2019-05-21 | 1 | -1/+4 | |
| | |||||
* | fix thinko from tb@'s commit. | 2019-04-22 | 1 | -3/+3 | |
| | | | | okay tb@ | ||||
* | thinko, from Scott Cheloha | 2019-01-31 | 1 | -3/+3 | |
| | |||||
* | handle -s and -i in a uniform fashion, do not try to change the node type | 2018-11-27 | 1 | -12/+4 | |
| | | | | | | | | but use the Targ_* functions correctly. This fixes an oddity in end node handling noticed by kn@ review and okay kn@ | ||||
* | commit again the cleanup part that didn't break anything | 2018-11-13 | 1 | -12/+6 | |
| | | | | and was ok'd millert@ | ||||
* | back it out for now. | 2018-10-08 | 1 | -12/+15 | |
| | |||||
* | fix problem reported by markweston@cock.li | 2018-10-06 | 1 | -15/+12 | |
| | | | | | | | | | | | | | | | | | specifically: - suffix rules for the empty suffix shouldn't be prevented from triggering by having dependencies. but this exhibits another issue: - .PHONY targets shouldn't trigger suffix rules. (also clean up an utility function) NetBSD make has got similar modernizations, but the code is entirely different by now. okay kn@, millert@ | ||||
* | fix indentation | 2018-09-20 | 1 | -2/+2 | |
| | | | | ok krw@ millert@ | ||||
* | remove ambiguity; from ross l richardson | 2018-07-04 | 1 | -3/+3 | |
| | |||||
* | More NUL (not NULL) checks. | 2017-12-19 | 2 | -5/+5 | |
| | | | | With support from guenther@ and millert@; final okay espie@ | ||||
* | somehow, I lost that static. | 2017-12-19 | 1 | -2/+2 | |
| | | | | From Michal W. Bombardieri, thx | ||||
* | Fix a case where we could go off the end of the buffer. | 2017-12-05 | 1 | -3/+6 | |
| | | | | | Crash found by Sergey Bronnikov using afl-fuzz. Based on a diff from and OK by espie@ | ||||
* | strip_comments is also called for dot lines, so sometimes the comment | 2017-12-05 | 1 | -2/+1 | |
| | | | | | | is all the line. problem reported by Sergey Bronnikov | ||||
* | Remove outdated count of the number of available assignment operators. | 2017-07-30 | 1 | -4/+4 | |
| | | | | | | While here, add a missing paragraph. ok jmc@ | ||||
* | turn stupid message into a proper warning. | 2017-07-24 | 1 | -4/+6 | |
| | | | | | | noticed by Michael W. Bombardieri okay schwarze@ | ||||
* | GC old cruft. | 2017-07-24 | 3 | -15/+11 | |
| | | | | noticed and patch Michael W. Bombardieri | ||||
* | fix two nasty out-of-bound accesses that killed (sporadically mk38 and mk38bis. | 2017-07-21 | 1 | -2/+6 | |
| | | | | prodded by bluhm@, okay bluhm@ | ||||
* | depend is dead | 2017-07-19 | 1 | -3/+1 | |
| | |||||
* | Also check for NUL termination at the first character of tstr in | 2017-07-10 | 1 | -2/+2 | |
| | | | | | | the error path of VarModifiers_Apply(). This prevents a sporadic crash in make's regress target t41. OK espie@ | ||||
* | there's no need to fork/exec to execute comments | 2017-07-09 | 1 | -1/+5 | |
| | | | | okay millert@ | ||||
* | zap trailing spaces from the previous commits and also other trailing | 2017-06-22 | 1 | -13/+13 | |
| | | | | spaces | ||||
* | better display of cycles in -j mode. | 2017-06-22 | 3 | -69/+129 | |
| | | | | | lots of tests by krw@ review and comments by pirofti@, more tweaks to come | ||||
* | error out if an exists condition tests an empty path, because that makes | 2017-06-21 | 1 | -1/+4 | |
| | | | | | | | | zero sense. this would have caught DEPENDSFILE in gnu/cc/cc_tools okay guenther@, also tested by krw@ | ||||
* | use strtonum instead of strtoll to parse the argument to -j | 2017-04-20 | 1 | -6/+6 | |
| | | | | ok deraadt@ benno@ | ||||
* | spelling fixes from michael w. bombardieri | 2017-04-19 | 1 | -4/+4 | |
| | |||||
* | add support for variables in the lhs of SYSV modifiers. | 2017-02-24 | 1 | -11/+31 | |
| | | | | | | | lack of support noted by naddy@ source, xenocara, and ports still build without a hitch. okay naddy@ | ||||
* | obvious protection against null pointer, because it's quite possible for cgn | 2017-01-29 | 1 | -1/+5 | |
| | | | | to not have a parent... | ||||
* | off-by-one, leading to segfaults. Trivial fix. | 2017-01-25 | 1 | -2/+2 | |
| | | | | reported by jasper@ | ||||
* | Dedup prototype for really_kill(). | 2017-01-21 | 1 | -2/+1 | |
| | |||||
* | Use errno to make the debug message more descriptive. | 2017-01-21 | 1 | -5/+3 | |
| | | | | ok deraadt | ||||
* | Stop calling out to sudo/doas to kill processes. Reliance on system | 2017-01-21 | 1 | -36/+1 | |
| | | | | | configuration to perform a racy behaviour is not wise. ok natano | ||||
* | Hyphenate compound adjectives 'up-to-date', 'out-of-date' and 'well-known' | 2017-01-01 | 1 | -12/+12 | |
| | | | | | | if they precede the noun and omit hyphens otherwise. ok tj | ||||
* | fix the remaining cases of .Xr with only one argument | 2016-12-28 | 1 | -3/+3 | |
| | |||||
* | zap trailing whitespace; | 2016-10-23 | 1 | -4/+4 | |
| | |||||
* | add !!= | 2016-10-23 | 5 | -18/+76 | |
| | | | | feedback and okay millert@ | ||||
* | small obvious cleanups: | 2016-10-21 | 14 | -56/+54 | |
| | | | | | | | | - remove a lot of unnecessary casts - zap extra param that's no longer needed - add proper prototype and make function static okay natano@ | ||||
* | Implement the ${<D} and ${<F} variables, as documented in the manual. | 2016-10-14 | 4 | -12/+28 | |
| | | | | | | | | | They are equivalent to ${<:H} and ${<:T} repectively, however the former variants are more portable, as they are understood by GNU, FreeBSD and NetBSD make too. absence of those variables reported by Dario Niedermann <dnied at tiscali.it> ok millert espie | ||||
* | make -t uses the "fattr" syscall utimes(2) for its touch(1) built-in. | 2016-10-12 | 1 | -2/+2 | |
| | | | | | | Thus, add "fattr" to the list of pledge promises. ok millert, deraadt | ||||
* | Avoid two printf("%s", NULL) with 'make -d v'. | 2016-10-02 | 1 | -4/+8 | |
| | | | | improvements & ok espie, earlier version ok deraadt | ||||
* | have sinclude/include be more compatible with sysv, handle list of files | 2016-05-13 | 1 | -33/+45 | |
| | | | | small improvement and okay millert@ | ||||
* | remove unused variable | 2016-03-28 | 1 | -2/+1 | |
| | | | | ok espie@ | ||||
* | safer pattern: if you're interested in one child, get THAT one, don't steal | 2016-03-05 | 1 | -2/+2 | |
| | | | | | | | | | | 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@ | ||||
* | Use err(3) instead of various handrolled combinations of perror(3) and | 2016-01-04 | 1 | -14/+8 | |
| | | | | | | | | 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@ | ||||
* | fix exit status on pledge(2) failure. | 2015-12-29 | 1 | -2/+2 | |
| | | | | OK tb@ jsg@ | ||||
* | in case we have a parse error, dispell the target list early to avoid | 2015-12-22 | 1 | -3/+9 | |
| | | | | | | | | various problems. Problem noticed by jsg@, deeper patch than he suggested okay jsg@ and tb@. | ||||
* | Use %zu to print size_t's rather than casting to u_long. | 2015-12-11 | 1 | -5/+5 | |
| | | | | ok espie@ | ||||
* | yet another feof check, just to be sure. | 2015-12-05 | 1 | -3/+7 | |
| | |||||
* | fix duplicate targets in target list for good: split previous groupling fix | 2015-11-29 | 3 | -29/+70 | |
| | | | | | | | | 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@ | ||||
* | unifdef MAKE_BOOTSTRAP now that Makefile.boot is gone. | 2015-11-15 | 2 | -20/+2 | |
| | | | | ok espie@ |