The NetBSD Project

CVS log for src/usr.bin/make/meta.c

[BACK] Up to [cvs.NetBSD.org] / src / usr.bin / make

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: MAIN


Revision 1.63 / (download) - annotate - [select for diffs], Wed Jun 29 22:10:08 2016 UTC (4 weeks ago) by sjg
Branch: MAIN
CVS Tags: pgoyette-localcount-base, pgoyette-localcount-20160726, pgoyette-localcount, HEAD
Changes since 1.62: +2 -1 lines
Diff to previous 1.62 (colored)

meta_compat_parent: fflush each line

Revision 1.62 / (download) - annotate - [select for diffs], Tue Jun 14 18:16:06 2016 UTC (6 weeks, 1 day ago) by sjg
Branch: MAIN
Changes since 1.61: +2 -1 lines
Diff to previous 1.61 (colored)

meta_oodate: set needOODATE if oodate due to missing .meta file.

Revision 1.61 / (download) - annotate - [select for diffs], Tue Jun 7 00:40:00 2016 UTC (7 weeks, 2 days ago) by sjg
Branch: MAIN
Changes since 1.60: +5 -5 lines
Diff to previous 1.60 (colored)

Extend the mtimes cache used by dir.c so it can be used by others.

We store both st_mtime and st_mode, since some callers care about the
later.

Reviewed by: christos

Revision 1.60 / (download) - annotate - [select for diffs], Sat Jun 4 22:17:14 2016 UTC (7 weeks, 4 days ago) by sjg
Branch: MAIN
Changes since 1.59: +18 -9 lines
Diff to previous 1.59 (colored)

meta_oodate even when missing-meta is true, we do not make a target in
.CURDIR out of date just because of a missing meta file.

Also we can only be missing filemon data if we had a meta file.

Revision 1.59 / (download) - annotate - [select for diffs], Fri Jun 3 01:21:59 2016 UTC (7 weeks, 6 days ago) by sjg
Branch: MAIN
Changes since 1.58: +5 -5 lines
Diff to previous 1.58 (colored)

Add cached_realpath()

realpath(3) is expensive, and meta mode at least uses it extensively.
We use cached_realpath() to save the result of successful calls to
realpath(3) in a private variable context.

This improves the worst case performance (eg examining libc with
nothing to do) by a factor of 4.

Reviewed by: christos

Revision 1.58 / (download) - annotate - [select for diffs], Fri Jun 3 01:16:27 2016 UTC (7 weeks, 6 days ago) by sjg
Branch: MAIN
Changes since 1.57: +108 -76 lines
Diff to previous 1.57 (colored)

Refactor the logic for deciding when a .meta file is needed.

Both meta_create() and meta_oodate() now share meta_needed()
to indicate if a .meta file is needed.

This allows for deciding that missing .meta file is cause of out-of-date.
The new knob 'missing-meta' controlls this, and is off by default
since the side effect files of generators like yacc will typically need
.NOMETA to avoid problems.

This however makes it much easier for folk to switch back and forth
with meta mode (eg. FreeBSD's normal build can leverage meta mode for
improved reliablility without need to clean).

Also if .MAKE.MODE does not contain 'nofilemon', the knob
'missing-filemon' allows control as to whether missing filemon data
should cause the target to be out-of-date.
Again off by default.

Revision 1.57 / (download) - annotate - [select for diffs], Thu May 12 20:28:34 2016 UTC (2 months, 2 weeks ago) by sjg
Branch: MAIN
Changes since 1.56: +27 -11 lines
Diff to previous 1.56 (colored)

Propagate errors from filemon.

If we encounter errors producing a .meta file,
we should not consider the target completed successfully.

Revision 1.56 / (download) - annotate - [select for diffs], Tue May 10 23:45:45 2016 UTC (2 months, 2 weeks ago) by sjg
Branch: MAIN
Changes since 1.55: +34 -2 lines
Diff to previous 1.55 (colored)

Allow for ignoring paths that match a set of patterns.
This can be expensive, so use with caution.

Revision 1.55 / (download) - annotate - [select for diffs], Tue May 10 00:02:31 2016 UTC (2 months, 2 weeks ago) by sjg
Branch: MAIN
Changes since 1.54: +9 -7 lines
Diff to previous 1.54 (colored)

Apply realpath() to p before matching against metaIgnorePaths.

Revision 1.54 / (download) - annotate - [select for diffs], Fri Mar 11 07:01:21 2016 UTC (4 months, 2 weeks ago) by sjg
Branch: MAIN
Changes since 1.53: +5 -5 lines
Diff to previous 1.53 (colored)

Handle missing file for Read the same as for Write, since if it
is Deleted we don't care.

Patch from Bryan Drewery.

Revision 1.53 / (download) - annotate - [select for diffs], Mon Mar 7 21:45:43 2016 UTC (4 months, 2 weeks ago) by christos
Branch: MAIN
Changes since 1.52: +19 -10 lines
Diff to previous 1.52 (colored)

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.

Revision 1.52 / (download) - annotate - [select for diffs], Sat Feb 27 16:20:06 2016 UTC (4 months, 4 weeks ago) by christos
Branch: MAIN
Changes since 1.51: +2 -2 lines
Diff to previous 1.51 (colored)

CID 1025009: Fix wrong code (NULL deref)

Revision 1.51 / (download) - annotate - [select for diffs], Sat Feb 27 16:18:47 2016 UTC (4 months, 4 weeks ago) by christos
Branch: MAIN
Changes since 1.50: +3 -1 lines
Diff to previous 1.50 (colored)

CID 1025008: Free memory returned by Var_Subst

Revision 1.50 / (download) - annotate - [select for diffs], Sat Feb 27 16:17:26 2016 UTC (4 months, 4 weeks ago) by christos
Branch: MAIN
Changes since 1.49: +4 -2 lines
Diff to previous 1.49 (colored)

CID 1025007: Don't leak missingFiles

Revision 1.49 / (download) - annotate - [select for diffs], Sat Feb 27 16:14:23 2016 UTC (4 months, 4 weeks ago) by christos
Branch: MAIN
Changes since 1.48: +2 -2 lines
Diff to previous 1.48 (colored)

CID 1025006: pbm can't be NULL at this point.

Revision 1.48 / (download) - annotate - [select for diffs], Sat Feb 27 00:13:21 2016 UTC (5 months ago) by sjg
Branch: MAIN
Changes since 1.47: +2 -5 lines
Diff to previous 1.47 (colored)

Let makefiles decide if depend file gets a meta file

Revision 1.47 / (download) - annotate - [select for diffs], Thu Feb 18 20:33:40 2016 UTC (5 months, 1 week ago) by sjg
Branch: MAIN
Changes since 1.46: +8 -8 lines
Diff to previous 1.46 (colored)

Adapt to changed Var_Subst()

Revision 1.46 / (download) - annotate - [select for diffs], Thu Feb 18 05:40:50 2016 UTC (5 months, 1 week ago) by sjg
Branch: MAIN
Changes since 1.45: +8 -8 lines
Diff to previous 1.45 (colored)

Actually FALSE as last arg to Var_Subst makes more sense

Revision 1.45 / (download) - annotate - [select for diffs], Thu Feb 18 05:01:39 2016 UTC (5 months, 1 week ago) by sjg
Branch: MAIN
Changes since 1.44: +8 -8 lines
Diff to previous 1.44 (colored)

Adapt to new Var_Subst prototype

Revision 1.44 / (download) - annotate - [select for diffs], Sun Jan 17 17:45:21 2016 UTC (6 months, 1 week ago) by christos
Branch: MAIN
Changes since 1.43: +8 -15 lines
Diff to previous 1.43 (colored)

remove free NULL checks (Tilman Sauerbeck)

Revision 1.43 / (download) - annotate - [select for diffs], Sun Jan 17 15:32:38 2016 UTC (6 months, 1 week ago) by christos
Branch: MAIN
Changes since 1.42: +1 -2 lines
Diff to previous 1.42 (colored)

provide missing FD_CLOEXEC for the havenots.

Revision 1.42 / (download) - annotate - [select for diffs], Sun Jan 17 15:30:23 2016 UTC (6 months, 1 week ago) by christos
Branch: MAIN
Changes since 1.41: +5 -5 lines
Diff to previous 1.41 (colored)

Use FD_CLOEXEC (Tilman Sauerbeck)

Revision 1.41 / (download) - annotate - [select for diffs], Mon Nov 30 23:37:56 2015 UTC (7 months, 3 weeks ago) by sjg
Branch: MAIN
Changes since 1.40: +3 -2 lines
Diff to previous 1.40 (colored)

Use lstat(2) if we have a link, incase it is a symlink.

Patch from bdrewery at FreeBSD.org

Revision 1.40 / (download) - annotate - [select for diffs], Sun Oct 11 04:51:24 2015 UTC (9 months, 2 weeks ago) by sjg
Branch: MAIN
Changes since 1.39: +11 -8 lines
Diff to previous 1.39 (colored)

Add Boolean wantit to Var_Parse and Var_Subst

wantit will be FALSE when we are just consuming to discard
in which case we skip "expensive" things like Cmd_Exec.

Reviewed by: christos

Revision 1.39 / (download) - annotate - [select for diffs], Sat Oct 10 03:58:59 2015 UTC (9 months, 2 weeks ago) by sjg
Branch: MAIN
Changes since 1.38: +1 -11 lines
Diff to previous 1.38 (colored)

Do not hard-code ingnoring of makeDependfile

Revision 1.38 / (download) - annotate - [select for diffs], Sat Apr 11 05:24:30 2015 UTC (15 months, 2 weeks ago) by sjg
Branch: MAIN
Changes since 1.37: +50 -10 lines
Diff to previous 1.37 (colored)

Use separate vars to track cwd and last dir a process read.

Revision 1.37 / (download) - annotate - [select for diffs], Wed Apr 1 01:03:55 2015 UTC (15 months, 3 weeks ago) by sjg
Branch: MAIN
Changes since 1.36: +10 -6 lines
Diff to previous 1.36 (colored)

Close child's reference to meta file.

Revision 1.36 / (download) - annotate - [select for diffs], Thu Nov 6 01:36:57 2014 UTC (20 months, 3 weeks ago) by sjg
Branch: MAIN
Changes since 1.35: +2 -2 lines
Diff to previous 1.35 (colored)

Ensure -- filemon is at start of line

Revision 1.35 / (download) - annotate - [select for diffs], Mon Oct 20 23:22:57 2014 UTC (21 months, 1 week ago) by sjg
Branch: MAIN
Changes since 1.34: +5 -8 lines
Diff to previous 1.34 (colored)

Use read and fwrite rather than fgets and printf when reading filemon data.

Revision 1.34 / (download) - annotate - [select for diffs], Sat Oct 18 08:33:30 2014 UTC (21 months, 1 week ago) by snj
Branch: MAIN
Changes since 1.33: +2 -2 lines
Diff to previous 1.33 (colored)

src is too big these days to tolerate superfluous apostrophes.  It's
"its", people!

Revision 1.33 / (download) - annotate - [select for diffs], Tue Oct 1 05:37:17 2013 UTC (2 years, 9 months ago) by sjg
Branch: MAIN
CVS Tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, netbsd-7-base, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7
Changes since 1.32: +61 -18 lines
Diff to previous 1.32 (colored)

meta_oodate: 'L'ink and 'M'ove entries need extra processing.
The src of a Link should be treated as a file Read
while the target a file Written.
The src of a Move is like a file Deleted
and the target like a file Written.

Revision 1.32 / (download) - annotate - [select for diffs], Tue Jun 25 00:20:54 2013 UTC (3 years, 1 month ago) by sjg
Branch: MAIN
CVS Tags: riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2
Changes since 1.31: +26 -19 lines
Diff to previous 1.31 (colored)

Add .MAKE.META.IGNORE_PATHS to facilitate local additions to the paths
which should be ignored by meta_oodate().

Revision 1.31 / (download) - annotate - [select for diffs], Mon Jun 24 21:16:02 2013 UTC (3 years, 1 month ago) by sjg
Branch: MAIN
Changes since 1.30: +5 -1 lines
Diff to previous 1.30 (colored)

Ignore any files in /proc/

Revision 1.30 / (download) - annotate - [select for diffs], Thu May 16 21:56:56 2013 UTC (3 years, 2 months ago) by sjg
Branch: MAIN
Changes since 1.29: +2 -2 lines
Diff to previous 1.29 (colored)

New compiler doesn't like foo()

Revision 1.29 / (download) - annotate - [select for diffs], Sun Mar 31 05:49:51 2013 UTC (3 years, 3 months ago) by sjg
Branch: MAIN
Changes since 1.28: +14 -12 lines
Diff to previous 1.28 (colored)

Refine the effect of .OODATE on command comparison.
Rather than apply it to the whole script, just the current command line
is affected.   This allows a trick like ${.OODATE:M.NOMETA_CMP}
to cause command comparison to be supressed for one command only.

Revision 1.28 / (download) - annotate - [select for diffs], Sat Mar 23 23:39:47 2013 UTC (3 years, 4 months ago) by sjg
Branch: MAIN
Changes since 1.27: +2 -1 lines
Diff to previous 1.27 (colored)

After removing an entry from missingFiles,
set ln=NULL after Lst_Remove() to make it clear we won't use it
after this point.

Revision 1.27 / (download) - annotate - [select for diffs], Sat Mar 23 05:31:29 2013 UTC (3 years, 4 months ago) by sjg
Branch: MAIN
CVS Tags: agc-symver-base, agc-symver
Changes since 1.26: +18 -2 lines
Diff to previous 1.26 (colored)

If built with filemon support, set .MAKE.PATH_FILEMON to _PATH_FILEMON
so that makefiles can test for it.

Revision 1.26 / (download) - annotate - [select for diffs], Sat Jan 19 04:23:37 2013 UTC (3 years, 6 months ago) by sjg
Branch: MAIN
CVS Tags: yamt-pagecache-base8, dholland-make-base
Changes since 1.25: +14 -12 lines
Diff to previous 1.25 (colored)

meta_oodate: rename ignoreOODATE to needOODATE.
if target uses ${.OODATE} in its script;
1. we canno compare commands
2. if we decide it is out-of-date .OODATE must not be empty.
   The only option is to set it to .ALLSRC

Revision 1.25 / (download) - annotate - [select for diffs], Wed Jun 27 17:22:58 2012 UTC (4 years, 1 month ago) by sjg
Branch: MAIN
CVS Tags: yamt-pagecache-base7, yamt-pagecache-base6
Branch point for: tls-maxphys
Changes since 1.24: +2 -2 lines
Diff to previous 1.24 (colored)

gcc 4.2 doesn't like externs inside functions

Revision 1.24 / (download) - annotate - [select for diffs], Wed Sep 21 14:30:47 2011 UTC (4 years, 10 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus
Branch point for: yamt-pagecache
Changes since 1.23: +2 -2 lines
Diff to previous 1.23 (colored)

PR/45383: Henning Petersen: Swapped lseek args

Revision 1.23 / (download) - annotate - [select for diffs], Fri Sep 2 16:26:21 2011 UTC (4 years, 10 months ago) by sjg
Branch: MAIN
Changes since 1.22: +11 -1 lines
Diff to previous 1.22 (colored)

meta_oodate should ignore makeDependfile

Revision 1.22 / (download) - annotate - [select for diffs], Sun Aug 28 03:54:07 2011 UTC (4 years, 11 months ago) by sjg
Branch: MAIN
Changes since 1.21: +10 -2 lines
Diff to previous 1.21 (colored)

In meta mode, we create .meta files for most targets.
These capture all the interesting data - useful for debugging.
In such cases there is no need to replicate commands in the build log.
Rather than run the entire build .SILENT, allow meta mode to set that flag
per target iff a .meta file is created.
Normal behavior is retained for targets where no .meta file is created,
ensuring that no build data is lost.

Revision 1.21 / (download) - annotate - [select for diffs], Thu Aug 18 00:00:21 2011 UTC (4 years, 11 months ago) by sjg
Branch: MAIN
Changes since 1.20: +7 -1 lines
Diff to previous 1.20 (colored)

If a target is explicitly flagged .META,
a missing .meta file means it is out-of-date.

Revision 1.20 / (download) - annotate - [select for diffs], Wed Jun 22 21:13:12 2011 UTC (5 years, 1 month ago) by sjg
Branch: MAIN
Changes since 1.19: +20 -3 lines
Diff to previous 1.19 (colored)

After each strsep(&p) check that p is valid.
If not the .meta file is corrupted (build interrupted?)
issue a warning and declare target oodate.

Revision 1.19 / (download) - annotate - [select for diffs], Sat Jun 11 02:10:48 2011 UTC (5 years, 1 month ago) by sjg
Branch: MAIN
Changes since 1.18: +3 -3 lines
Diff to previous 1.18 (colored)

Use %zu rather than cast

Revision 1.18 / (download) - annotate - [select for diffs], Fri Jun 10 23:57:39 2011 UTC (5 years, 1 month ago) by sjg
Branch: MAIN
Changes since 1.17: +2 -2 lines
Diff to previous 1.17 (colored)

size_t on amd64 doesn't like %u, use a cast.

Revision 1.17 / (download) - annotate - [select for diffs], Wed May 4 20:38:32 2011 UTC (5 years, 2 months ago) by sjg
Branch: MAIN
CVS Tags: cherry-xenmp-base
Branch point for: cherry-xenmp
Changes since 1.16: +108 -2 lines
Diff to previous 1.16 (colored)

Add .MAKE.META.BAILIWICK - to identify the scope of make's control.
meta_oodate: if a file that was written or linked within our bailiwick,
but outside of .OBJDIR is missing, add it to missingFiles.
If we get to the end of the .meta file without seeing it [re]moved,
then consider the target out-of-date.

Revision 1.16 / (download) - annotate - [select for diffs], Thu Mar 31 06:50:43 2011 UTC (5 years, 3 months ago) by sjg
Branch: MAIN
Changes since 1.15: +2 -1 lines
Diff to previous 1.15 (colored)

Call meta_job_finish() from meta_job_error(), so that if
the .ERROR target copies the .meta file, it has been completed.
meta_job_finish() is safe to call again.

Revision 1.15 / (download) - annotate - [select for diffs], Wed Mar 30 22:03:49 2011 UTC (5 years, 3 months ago) by sjg
Branch: MAIN
Changes since 1.14: +2 -0 lines
Diff to previous 1.14 (colored)

Add NetBSD tags

Revision 1.14 / (download) - annotate - [select for diffs], Tue Mar 29 17:29:20 2011 UTC (5 years, 4 months ago) by sjg
Branch: MAIN
Changes since 1.13: +9 -10 lines
Diff to previous 1.13 (colored)

Check for extra commands as soon as we reach CWD,
so we return faster (if oodate) and give a more accurate debug message.

Revision 1.13 / (download) - annotate - [select for diffs], Sun Mar 27 19:47:46 2011 UTC (5 years, 4 months ago) by sjg
Branch: MAIN
Changes since 1.12: +2 -2 lines
Diff to previous 1.12 (colored)

Use curdirOk as the token

Revision 1.12 / (download) - annotate - [select for diffs], Sun Mar 27 19:39:21 2011 UTC (5 years, 4 months ago) by sjg
Branch: MAIN
Changes since 1.11: +19 -1 lines
Diff to previous 1.11 (colored)

When .MAKE.MODE inlcudes 'meta'; 'curdir=true' enables creating .meta
files in .CURDIR - such as when running make in .OBJDIR with a generated
makefile.

Revision 1.11 / (download) - annotate - [select for diffs], Sun Mar 6 17:41:11 2011 UTC (5 years, 4 months ago) by sjg
Branch: MAIN
Changes since 1.10: +9 -8 lines
Diff to previous 1.10 (colored)

Only need to getcwd() once

Revision 1.10 / (download) - annotate - [select for diffs], Sun Mar 6 04:34:25 2011 UTC (5 years, 4 months ago) by sjg
Branch: MAIN
Changes since 1.9: +1 -1 lines
Diff to previous 1.9 (colored)

CWD should be compared against cwd

Revision 1.9 / (download) - annotate - [select for diffs], Fri Mar 4 04:55:51 2011 UTC (5 years, 4 months ago) by sjg
Branch: MAIN
CVS Tags: bouyer-quota2-nbase
Changes since 1.8: +2 -8 lines
Diff to previous 1.8 (colored)

main.c now exports curdir[] so we can use it.

Revision 1.8 / (download) - annotate - [select for diffs], Sun Feb 13 21:22:41 2011 UTC (5 years, 5 months ago) by sjg
Branch: MAIN
CVS Tags: bouyer-quota2-base
Changes since 1.7: +71 -2 lines
Diff to previous 1.7 (colored)

When making a target that involves creating itermediate dirs,
realpath() will fail until after those dirs exist.
Try to ensure the same meta file name is used regardless.

Revision 1.7 / (download) - annotate - [select for diffs], Tue Feb 8 05:29:13 2011 UTC (5 years, 5 months ago) by sjg
Branch: MAIN
Changes since 1.6: +18 -2 lines
Diff to previous 1.6 (colored)

tmplen should be static

Revision 1.6 / (download) - annotate - [select for diffs], Wed Dec 15 23:03:35 2010 UTC (5 years, 7 months ago) by sjg
Branch: MAIN
CVS Tags: matt-mips64-premerge-20101231
Branch point for: bouyer-quota2
Changes since 1.5: +2 -1 lines
Diff to previous 1.5 (colored)

Invalidate meta_fname when we finish a job, so that in compat
mode, we do not report a previous .meta file as being involved
in an error.

Revision 1.5 / (download) - annotate - [select for diffs], Thu Dec 9 22:30:17 2010 UTC (5 years, 7 months ago) by sjg
Branch: MAIN
Changes since 1.4: +153 -31 lines
Diff to previous 1.4 (colored)

meta_oodate(): we should track 'latestdir' on a per process basis.
Also, only consider target out of date if a not-found file is outside
'CWD'.  Ignore anything in "/tmp/" or tmpdir.

Revision 1.4 / (download) - annotate - [select for diffs], Sat Nov 27 05:02:35 2010 UTC (5 years, 8 months ago) by sjg
Branch: MAIN
Changes since 1.3: +21 -7 lines
Diff to previous 1.3 (colored)

When a source file moves, make will ignore the stale dependency,
but if the file in question is one that needs to be compiled (.c or .cc),
it still hands the bogus name to the compiler.

If Dir_MTime() cannot find such a file (gn->iParents is not empty),
see if the basename can be found via .PATH, and if so set gn->path to
the found file.   This prevents the stale path being given to the
compiler.

In meta_oodate(), if a referenced file no longer exists, consider the
target out-of-date.

Also, if meta_oodate() decides a target is out-of-date, and it
it uses .OODATE in its commands, we need .OODATE recomputed.
Undo our call to Make_DoAllVar() so that the call from Make_OODate()
will do the right thing.

Revision 1.3 / (download) - annotate - [select for diffs], Mon Sep 13 21:31:59 2010 UTC (5 years, 10 months ago) by sjg
Branch: MAIN
Changes since 1.2: +3 -0 lines
Diff to previous 1.2 (colored)

tools/make/buildmake.sh compiles *.c, make sure meta.c does nothing
unless USE_META is defined.

Revision 1.2 / (download) - annotate - [select for diffs], Mon Sep 13 20:34:21 2010 UTC (5 years, 10 months ago) by sjg
Branch: MAIN
Changes since 1.1: +6 -2 lines
Diff to previous 1.1 (colored)

We do not need filemon(9) to have a .meta file

Revision 1.1 / (download) - annotate - [select for diffs], Mon Sep 13 15:36:57 2010 UTC (5 years, 10 months ago) by sjg
Branch: MAIN

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).

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>