osversion 5629 src/simh/scp.c char osversion[PATH_MAX+1] = ""; osversion 5633 src/simh/scp.c (void)memset (osversion, 0, sizeof(osversion)); osversion 5635 src/simh/scp.c if (NULL == fgets (osversion, sizeof(osversion)-1, f)) osversion 5637 src/simh/scp.c sim_trim_endspc (osversion); osversion 5638 src/simh/scp.c } while (osversion[0] == '\0'); osversion 5641 src/simh/scp.c (void)fprintf (st, "\r\n Host OS: %s", osversion); osversion 5646 src/simh/scp.c char osversion[2*PATH_MAX+1] = ""; osversion 5658 src/simh/scp.c (void)memset (osversion, 0, sizeof(osversion)); osversion 5660 src/simh/scp.c if (NULL == fgets (osversion, sizeof(osversion)-1, f)) { osversion 5663 src/simh/scp.c sim_trim_endspc (osversion); osversion 5664 src/simh/scp.c } while (osversion[0] == '\0'); osversion 5666 src/simh/scp.c strremove(osversion, "0000000000000000 "); osversion 5667 src/simh/scp.c strremove(osversion, " 0000000000000000"); osversion 5668 src/simh/scp.c strremove(osversion, "000000000000 "); osversion 5669 src/simh/scp.c strremove(osversion, " 000000000000"); osversion 5670 src/simh/scp.c strremove(osversion, "IBM "); osversion 5671 src/simh/scp.c strremove(osversion, " (emulated by qemu)"); osversion 5672 src/simh/scp.c strremove(osversion, " (emulated by QEMU)"); osversion 5675 src/simh/scp.c (void)fprintf (st, "\r\n Host OS: %s", osversion); osversion 5677 src/simh/scp.c strremove(osversion, "AIX "); osversion 5679 src/simh/scp.c (void)fprintf (st, "\r\n Host OS: IBM AIX %s", osversion); osversion 5681 src/simh/scp.c (void)fprintf (st, "\r\n Host OS: IBM OS/400 (PASE) %s", osversion);