Module Name:    src
Committed By:   sjg
Date:           Thu Mar 31 06:50:43 UTC 2011

Modified Files:
        src/usr.bin/make: meta.c

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/usr.bin/make/meta.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.bin/make/meta.c
diff -u src/usr.bin/make/meta.c:1.15 src/usr.bin/make/meta.c:1.16
--- src/usr.bin/make/meta.c:1.15	Wed Mar 30 22:03:49 2011
+++ src/usr.bin/make/meta.c	Thu Mar 31 06:50:43 2011
@@ -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

Reply via email to