1
0
mirror of https://github.com/simh/simh.git synced 2026-01-30 13:27:50 +00:00

Added a more unique naming paradigm for remote console temporary log files to avoid potential collisions when multiple simulators may be running concurrently

This commit is contained in:
Mark Pizzolato
2013-05-02 07:46:07 -07:00
parent 242103e79f
commit cc8c79eb0f
3 changed files with 7 additions and 3 deletions

2
scp.c
View File

@@ -3146,6 +3146,8 @@ return SCPE_OK;
t_stat set_default_cmd (int32 flg, char *cptr)
{
if (sim_is_running)
return SCPE_INVREM;
if ((!cptr) || (*cptr == 0))
return SCPE_2FARG;
sim_trim_endspc(cptr);