changed MAXTOKEN in ResReadSim.c from 256 to 1024, having

encountered an issue where a label in a flattened layout
exceeded 256 characters, ended up in the .sim file, and was
truncated when read back during "extresist".  The change to 1024
is a stop-gap measure because ultimately I want to replace the
use of .sim files with .ext files using the routines in extflat/,
which would deprecate everything in ResReadSim.c.
This commit is contained in:
Tim Edwards 2023-03-25 16:11:46 -04:00
parent 8ab5d465e9
commit 380b9245f3
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ static char rcsid[] __attribute__ ((unused)) = "$Header: /usr/cvsroot/magic-8.0/
#define RES_EXT_ATTR_TEXT 7
#define MAXTOKEN 256
#define MAXTOKEN 1024
#define MAXLINE 40
#define MAXDIGIT 20