1
0
mirror of https://github.com/simh/simh.git synced 2026-02-14 11:55:51 +00:00

SCP: Take care to only write to a socket a single time and when appropriate

This commit is contained in:
Mark Pizzolato
2017-01-16 14:25:38 -08:00
parent 11c0251059
commit d5a56e0ab4
3 changed files with 90 additions and 69 deletions

View File

@@ -65,6 +65,12 @@ t_bool sim_end; /* TRUE = little endian, FALSE = big endian
t_bool sim_taddr_64; /* t_addr is > 32b and Large File Support available */
t_bool sim_toffset_64; /* Large File (>2GB) file I/O Support available */
#if defined(fprintf) /* Make sure to only use the C rtl stream I/O routines */
#undef fprintf
#undef fputs
#undef fputc
#endif
/* OS-independent, endian independent binary I/O package
For consistency, all binary data read and written by the simulator