1
0
mirror of https://github.com/simh/simh.git synced 2026-01-11 23:52:58 +00:00

TMXR: Increase the maximum buffer size for BUFFERed lines to 10 million bytes

This commit is contained in:
Mark Pizzolato 2024-04-18 16:35:16 -10:00
parent f93994be0a
commit d71ce79d13

View File

@ -3004,9 +3004,9 @@ while (*tptr) {
if ((NULL == cptr) || ('\0' == *cptr))
strcpy (buffered, "32768");
else {
i = (int32) get_uint (cptr, 10, 1024*1024, &r);
i = (int32) get_uint (cptr, 10, 1024*1024*10, &r);
if (r || (i == 0))
return sim_messagef (SCPE_ARG, "Invalid Buffered Specifier: %s\n", cptr);
return sim_messagef (SCPE_ARG, "Invalid Buffer Size Specifier: %s\n", cptr);
sprintf(buffered, "%d", i);
}
continue;