From 5da432b82167f5cebbda8a87b647bd1009f24bb0 Mon Sep 17 00:00:00 2001 From: Tim Edwards Date: Wed, 18 Apr 2018 14:09:26 -0400 Subject: [PATCH] Added ever so slightly more information to the output when handling issues with subcell loading. --- database/DBio.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/database/DBio.c b/database/DBio.c index b2d45936..a3f3db4d 100644 --- a/database/DBio.c +++ b/database/DBio.c @@ -1035,7 +1035,7 @@ dbReadOpen(cellDef, name, setFileName, errptr) if (f != NULL) { if (pptr != NULL) *pptr = '.'; - TxError("Warning: Parent cell lists instance \"%s\" at bad file " + TxError("Warning: Parent cell lists instance of \"%s\" at bad file " "path %s.\n", cellDef->cd_name, cellDef->cd_file); TxError("The cell exists in the search paths at %s.\n", filename); TxError("The discovered version will be used.\n"); @@ -1409,9 +1409,10 @@ badTransform: if (strcmp(subCellDef->cd_file, pathptr)) { - TxError("Duplicate cell: Instance of cell %s is from path %s" - " but cell was previously read from %s.\n", - slashptr + 1, pathptr, subCellDef->cd_file); + TxError("Duplicate cell in %s: Instance of cell %s is from " + "path %s but cell was previously read from %s.\n", + cellDef->cd_name, slashptr + 1, pathptr, + subCellDef->cd_file); /* To do: Check if new path does not exist (ignore), */ /* or if new path has same symbolic link or is the same */