From 380b9245f347c5d06405650474610b197de673bb Mon Sep 17 00:00:00 2001 From: Tim Edwards Date: Sat, 25 Mar 2023 16:11:46 -0400 Subject: [PATCH] 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. --- resis/ResReadSim.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resis/ResReadSim.c b/resis/ResReadSim.c index 85f35f6d..836b337e 100644 --- a/resis/ResReadSim.c +++ b/resis/ResReadSim.c @@ -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