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:
parent
0f5a618353
commit
18f230fc46
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue