Added a catch for a node named "(none)" in a merge line. This
prevents magic from crashing but does not do anything about the fact that a non-existent node ended up in the .ext file, which will have to be investigated.
This commit is contained in:
parent
bb9b9660e7
commit
2b7b12d34c
|
|
@ -1782,11 +1782,18 @@ esMakePorts(hc, cdata)
|
|||
if (he != NULL)
|
||||
{
|
||||
nn = (EFNodeName *) HashGetValue(he);
|
||||
flagrec->fdr_node = nn->efnn_node;
|
||||
flagrec->fdr_node->efnode_flags |= flagrec->fdr_flags;
|
||||
if (nn == NULL)
|
||||
{
|
||||
TxError("Error: Node %s not found in cell %s!\n",
|
||||
locname, def->def_name);
|
||||
}
|
||||
else
|
||||
{
|
||||
flagrec->fdr_node = nn->efnn_node;
|
||||
flagrec->fdr_node->efnode_flags |= flagrec->fdr_flags;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue