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:
parent
f93994be0a
commit
d71ce79d13
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user