diff --git a/VERSION b/VERSION index 8d787faf..65a6ba33 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -8.3.90 +8.3.91 diff --git a/calma/CalmaWrite.c b/calma/CalmaWrite.c index 41732d23..5a339db2 100644 --- a/calma/CalmaWrite.c +++ b/calma/CalmaWrite.c @@ -826,7 +826,8 @@ calmaProcessDef(def, outf, do_library) /* This is a rare error, but if the subcell is inside */ /* another vendor GDS, it would not normally be output. */ - DBPropGet(def->cd_parents->cu_parent, "GDS_FILE", &isReadOnly); + DBPropGet((def->cd_parents->cu_parent == NULL) ? def : + def->cd_parents->cu_parent, "GDS_FILE", &isReadOnly); if (!isReadOnly || isAbstract) TxError("Calma output error: Can't find GDS file \"%s\" " "for vendor cell \"%s\". Using magic's "