| History log of /src/usr.bin/make/meta.h |
| Revision | | Date | Author | Comments |
| 1.15 |
| 04-Aug-2025 |
sjg | meta_job_output() use size_t for len
|
| 1.14 |
| 03-Aug-2025 |
sjg | make: ensure output captured in meta file is accurate
In CollectOutput() a newline before the end of job->outBuf results in a short write to stdout, but meta_job_output() was recording the entire string in the meta file, so on next call the left overs would be duplicated in the meta file.
Pass a length to meta_job_output() if it should only report part of the data in meta file.
|
| 1.13 |
| 13-Jun-2025 |
rillig | make: do not discard empty lines in the output of a command
|
| 1.12 |
| 13-Jun-2025 |
rillig | make: omit redundant call to strlen during output of a parallel job
|
| 1.11 |
| 15-Dec-2021 |
rillig | branches: 1.11.4; make: mark several functions whose result must be used
Suggested by sjg, to catch more bugs like the memory leak in cond.c 1.303 from 2021-12-13.
No binary change.
|
| 1.10 |
| 03-Apr-2021 |
rillig | make: use C99 bool type instead of defining its own
No functional change.
|
| 1.9 |
| 10-Dec-2020 |
rillig | make(1): split JobFlags into separate fields
Having all these flags in a single bitmask makes it harder to see where exactly they can possibly be used since their state could also be modified using the unsuspicious job->flags = 0. Using individual names just leaves the single memset, and that is only used during initialization.
|
| 1.8 |
| 19-Oct-2020 |
rillig | make(1): clean up headers, no functional change
|
| 1.7 |
| 03-Jul-2020 |
rillig | make(1): remove trailing whitespace
|
| 1.6 |
| 19-Jan-2020 |
riastradh | Reimplement make(1) meta mode without filemon(4).
|
| 1.5 |
| 12-May-2016 |
sjg | branches: 1.5.16; Propagate errors from filemon.
If we encounter errors producing a .meta file, we should not consider the target completed successfully.
|
| 1.4 |
| 07-Mar-2016 |
christos | str2Lst_Append tokenizes the string and uses it in the list so we can't free the string afterwards. Keep a copy of it and cleanup at the end.
|
| 1.3 |
| 23-Mar-2013 |
sjg | If built with filemon support, set .MAKE.PATH_FILEMON to _PATH_FILEMON so that makefiles can test for it.
|
| 1.2 |
| 30-Mar-2011 |
sjg | branches: 1.2.4; 1.2.10; Add NetBSD tags
|
| 1.1 |
| 13-Sep-2010 |
sjg | Add meta.c which implements "meta" mode for make. In this mode, a .meta file is created for each target, capturing the expanded commands used, any command output, and if filemon(9) is available, a record of system calls which are of interest. Not enabled unless USE_META=yes is set when building make. Also, if FILEMON_H exists, meta.c will be compiled to use filemon(9).
|
| 1.2.10.1 |
| 23-Jun-2013 |
tls | resync from head
|
| 1.2.4.1 |
| 22-May-2014 |
yamt | sync with head.
for a reference, the tree before this commit was tagged as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid a limitation of cvs. ("Protocol error: too many arguments")
|
| 1.5.16.1 |
| 08-Apr-2020 |
martin | Merge changes from current as of 20200406
|
| 1.11.4.1 |
| 02-Aug-2025 |
perseant | Sync with HEAD
|