diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2017-06-22 17:08:21 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2017-06-22 17:08:21 +0000 |
commit | e783bc7416a34b07d9850d1c4794f836c5d537f8 (patch) | |
tree | 498fe65b7af0a0b1168a75a6a3dc02dce89f7a90 /usr.bin/make/gnode.h | |
parent | 5b7370690005926f920dad7ca27d52eefc7f8dde (diff) |
better display of cycles in -j mode.
lots of tests by krw@
review and comments by pirofti@, more tweaks to come
Diffstat (limited to 'usr.bin/make/gnode.h')
-rw-r--r-- | usr.bin/make/gnode.h | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/usr.bin/make/gnode.h b/usr.bin/make/gnode.h index e5b34ab377a..af56fd47f71 100644 --- a/usr.bin/make/gnode.h +++ b/usr.bin/make/gnode.h @@ -1,6 +1,6 @@ #ifndef GNODE_H #define GNODE_H -/* $OpenBSD: gnode.h,v 1.28 2013/05/30 08:58:38 espie Exp $ */ +/* $OpenBSD: gnode.h,v 1.29 2017/06/22 17:08:20 espie Exp $ */ /* * Copyright (c) 2001 Marc Espie. @@ -129,19 +129,13 @@ struct GNode_ { * made (used only in compat mode) * ABORTED - The target was aborted due to * an error making an inferior. - * CYCLE - Marked as potentially being part of - * a graph cycle. If we come back to a - * node marked this way, it is printed - * and 'built_status' is changed to ENDCYCLE. - * ENDCYCLE - the cycle has been completely - * printed. Go back and unmark all its - * members. */ char *path; /* The full pathname of the file */ unsigned int type; /* Its type (see the OP flags, below) */ int order; /* Its wait weight */ int unmade; /* The number of unmade children */ + int in_cycle; /* cycle detection */ struct timespec mtime; /* Its modification time */ GNode *youngest; /* Its youngest child */ |