@@ -180,8 +180,8 @@ static void ReadSymbols(int Index)
180
180
181
181
/* open this file - we're only reading */
182
182
183
- strmaxcpy (SrcName , ParamStr [Index ], 255 );
184
- DelSuffix (SrcName ); AddSuffix (SrcName , getmessage (Num_Suffix ));
183
+ strmaxcpy (SrcName , ParamStr [Index ], STRINGSIZE );
184
+ DelSuffix (SrcName ); AddSuffix (SrcName , STRINGSIZE , getmessage (Num_Suffix ));
185
185
if (Verbose >= 2 )
186
186
printf ("%s '%s'...\n" , getmessage (Num_InfoMsgGetSyms ), SrcName );
187
187
f = fopen (SrcName , OPENRDMODE );
@@ -302,8 +302,8 @@ static void ProcessFile(int Index)
302
302
303
303
/* open this file - we're only reading */
304
304
305
- strmaxcpy (SrcName , ParamStr [Index ], 255 );
306
- DelSuffix (SrcName ); AddSuffix (SrcName , getmessage (Num_Suffix ));
305
+ strmaxcpy (SrcName , ParamStr [Index ], STRINGSIZE );
306
+ DelSuffix (SrcName ); AddSuffix (SrcName , STRINGSIZE , getmessage (Num_Suffix ));
307
307
if (Verbose >= 2 )
308
308
printf ("%s '%s'..." , getmessage (Num_InfoMsgOpenSrc ), SrcName );
309
309
else if (Verbose >= 1 )
@@ -546,9 +546,9 @@ int main(int argc, char **argv)
546
546
for (z = ParamCount ; z > 0 ; z -- )
547
547
if (ParUnprocessed [z ])
548
548
break ;
549
- strmaxcpy (TargName , ParamStr [z ], 255 );
549
+ strmaxcpy (TargName , ParamStr [z ], STRINGSIZE );
550
550
DelSuffix (TargName );
551
- AddSuffix (TargName , getmessage (Num_Suffix ));
551
+ AddSuffix (TargName , STRINGSIZE , getmessage (Num_Suffix ));
552
552
ParUnprocessed [z ] = False ;
553
553
554
554
/* walk over source file(s): */
0 commit comments