Apply revision 274569 from FreeBSD:

Only compare visitation counters if they've both been set for the current
type graph walk.
This commit is contained in:
christos 2016-04-10 23:37:10 +00:00
parent 6457bad4b1
commit cb19fc18b8
1 changed files with 1 additions and 1 deletions

View File

@ -361,7 +361,7 @@ equiv_node(tdesc_t *ctdp, tdesc_t *mtdp, equiv_data_t *ed)
int (*equiv)(tdesc_t *, tdesc_t *, equiv_data_t *);
int mapping;
if (ctdp->t_emark > ed->ed_clear_mark ||
if (ctdp->t_emark > ed->ed_clear_mark &&
mtdp->t_emark > ed->ed_clear_mark)
return (ctdp->t_emark == mtdp->t_emark);