=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/make/error.c,v retrieving revision 1.22 retrieving revision 1.23 diff -c -r1.22 -r1.23 *** src/usr.bin/make/error.c 2012/09/21 07:55:20 1.22 --- src/usr.bin/make/error.c 2012/10/02 10:29:30 1.23 *************** *** 1,4 **** ! /* $OpenBSD: error.c,v 1.22 2012/09/21 07:55:20 espie Exp $ */ /* * Copyright (c) 2001 Marc Espie. --- 1,4 ---- ! /* $OpenBSD: error.c,v 1.23 2012/10/02 10:29:30 espie Exp $ */ /* * Copyright (c) 2001 Marc Espie. *************** *** 42,47 **** --- 42,48 ---- #endif #include "lowparse.h" + #include "dump.h" int fatal_errors = 0; *************** *** 84,90 **** (void)fprintf(stderr, "\n"); if (DEBUG(GRAPH2)) ! Targ_PrintGraph(2); exit(2); /* Not 1 so -q can distinguish error */ } --- 85,91 ---- (void)fprintf(stderr, "\n"); if (DEBUG(GRAPH2)) ! post_mortem(); exit(2); /* Not 1 so -q can distinguish error */ } *************** *** 112,118 **** Job_AbortAll(); if (DEBUG(GRAPH2)) ! Targ_PrintGraph(2); exit(2); /* Not 1, so -q can distinguish error */ } --- 113,119 ---- Job_AbortAll(); if (DEBUG(GRAPH2)) ! post_mortem(); exit(2); /* Not 1, so -q can distinguish error */ } *************** *** 129,135 **** Job_Wait(); print_errors(); if (DEBUG(GRAPH2)) ! Targ_PrintGraph(2); exit(2); /* Not 1 so -q can distinguish error */ } --- 130,136 ---- Job_Wait(); print_errors(); if (DEBUG(GRAPH2)) ! post_mortem(); exit(2); /* Not 1 so -q can distinguish error */ }