Changed the default string size for tmpstr in flattenInstancesOf

from 200 to 1024.  Probably this should be dynamically allocated
and expanded as needed, as it is holding names that are of
increasing length as a hierarchy is descended and the instance
prefixes appended to the name.
This commit is contained in:
Tim Edwards 2020-03-26 09:04:52 -04:00
parent 0f5a618353
commit 18f230fc46
2 changed files with 2 additions and 2 deletions

View File

@ -1 +1 @@
1.5.144
1.5.145

View File

@ -259,7 +259,7 @@ int flattenInstancesOf(char *name, int fnum, char *instance)
struct nlist *ChildCell;
struct objlist *tmp, *ob2, *ob3;
int notdone, rnodenum;
char tmpstr[200];
char tmpstr[1024];
int nextnode, oldmax, numflat = 0;
#if !OLDPREFIX
int prefixlength;