diff --git a/VERSION b/VERSION index 60d1fa3a..95f1edac 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -8.3.118 +8.3.119 diff --git a/calma/CalmaWrite.c b/calma/CalmaWrite.c index d2f8f0db..a5e38473 100644 --- a/calma/CalmaWrite.c +++ b/calma/CalmaWrite.c @@ -815,9 +815,13 @@ calmaProcessDef(def, outf, do_library) /* * Output the definitions for any of our descendants that have * not already been output. Numbers are assigned to the subcells - * as they are output. + * as they are output. If the cell will get a "full dump" (by + * having GDS_START but no GDS_END), then do not output any subcells, + * as they are expected to be in the referenced GDS file. */ - if (DBCellEnum(def, calmaProcessUse, (ClientData) outf) != 0) return 1; + if (!hasContent || hasGDSEnd) + if (DBCellEnum(def, calmaProcessUse, (ClientData) outf) != 0) + return 1; if (isReadOnly && hasContent) {