1
0
mirror of https://github.com/simh/simh.git synced 2026-04-16 00:21:35 +00:00

SCP: Make sure that log and debug file I/O use a large (64K) buffer

This commit is contained in:
Mark Pizzolato
2017-01-16 12:56:33 -08:00
parent 5f6636c6d7
commit 11c0251059
2 changed files with 2 additions and 3 deletions

View File

@@ -1860,6 +1860,7 @@ else {
*pref = NULL;
return SCPE_OPENERR;
}
setvbuf (*pf, NULL, _IOFBF, 65536);
(*pref)->file = *pf;
(*pref)->refcount = 1; /* need close */
}