Skip to content

Commit 4223a77

Browse files
Alfred Arnold0cjs
Alfred Arnold
authored andcommitted
asl-current-142-bld146
1 parent aab9254 commit 4223a77

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+504
-2498
lines changed

alink.c

+6-6
Original file line numberDiff line numberDiff line change
@@ -180,8 +180,8 @@ static void ReadSymbols(int Index)
180180

181181
/* open this file - we're only reading */
182182

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));
185185
if (Verbose >= 2)
186186
printf("%s '%s'...\n", getmessage(Num_InfoMsgGetSyms), SrcName);
187187
f = fopen(SrcName, OPENRDMODE);
@@ -302,8 +302,8 @@ static void ProcessFile(int Index)
302302

303303
/* open this file - we're only reading */
304304

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));
307307
if (Verbose >= 2)
308308
printf("%s '%s'...", getmessage(Num_InfoMsgOpenSrc), SrcName);
309309
else if (Verbose >= 1)
@@ -546,9 +546,9 @@ int main(int argc, char **argv)
546546
for (z = ParamCount; z > 0; z--)
547547
if (ParUnprocessed[z])
548548
break;
549-
strmaxcpy(TargName, ParamStr[z], 255);
549+
strmaxcpy(TargName, ParamStr[z], STRINGSIZE);
550550
DelSuffix(TargName);
551-
AddSuffix(TargName, getmessage(Num_Suffix));
551+
AddSuffix(TargName, STRINGSIZE, getmessage(Num_Suffix));
552552
ParUnprocessed[z] = False;
553553

554554
/* walk over source file(s): */

0 commit comments

Comments
 (0)