Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/make Call meta_job_finish() from meta_job_error(), s...
details: https://anonhg.NetBSD.org/src/rev/8f0d01842dab
branches: trunk
changeset: 763703:8f0d01842dab
user: sjg <sjg%NetBSD.org@localhost>
date: Thu Mar 31 06:50:43 2011 +0000
description:
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.
diffstat:
usr.bin/make/meta.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (17 lines):
diff -r 06607ccd7597 -r 8f0d01842dab usr.bin/make/meta.c
--- a/usr.bin/make/meta.c Thu Mar 31 06:28:42 2011 +0000
+++ b/usr.bin/make/meta.c Thu Mar 31 06:50:43 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: meta.c,v 1.15 2011/03/30 22:03:49 sjg Exp $ */
+/* $NetBSD: meta.c,v 1.16 2011/03/31 06:50:43 sjg Exp $ */
/*
* Implement 'meta' mode.
@@ -656,6 +656,7 @@
if (pbm && pbm->meta_fname[0]) {
Var_Set(".ERROR_META_FILE", pbm->meta_fname, VAR_GLOBAL, 0);
}
+ meta_job_finish(job);
}
void
Home |
Main Index |
Thread Index |
Old Index