osversion 5427 src/simh/scp.c char osversion[PATH_MAX+1] = ""; osversion 5431 src/simh/scp.c (void)memset (osversion, 0, sizeof(osversion)); osversion 5433 src/simh/scp.c if (NULL == fgets (osversion, sizeof(osversion)-1, f)) osversion 5435 src/simh/scp.c sim_trim_endspc (osversion); osversion 5436 src/simh/scp.c } while (osversion[0] == '\0'); osversion 5439 src/simh/scp.c (void)fprintf (st, "\n Host OS: %s", osversion); osversion 5444 src/simh/scp.c char osversion[2*PATH_MAX+1] = ""; osversion 5456 src/simh/scp.c (void)memset (osversion, 0, sizeof(osversion)); osversion 5458 src/simh/scp.c if (NULL == fgets (osversion, sizeof(osversion)-1, f)) { osversion 5461 src/simh/scp.c sim_trim_endspc (osversion); osversion 5462 src/simh/scp.c } while (osversion[0] == '\0'); osversion 5464 src/simh/scp.c strremove(osversion, "0000000000000000 "); osversion 5465 src/simh/scp.c strremove(osversion, " 0000000000000000"); osversion 5466 src/simh/scp.c strremove(osversion, "000000000000 "); osversion 5467 src/simh/scp.c strremove(osversion, " 000000000000"); osversion 5468 src/simh/scp.c strremove(osversion, "IBM "); osversion 5469 src/simh/scp.c strremove(osversion, " (emulated by qemu)"); osversion 5470 src/simh/scp.c strremove(osversion, " (emulated by QEMU)"); osversion 5473 src/simh/scp.c (void)fprintf (st, "\n Host OS: %s", osversion); osversion 5475 src/simh/scp.c strremove(osversion, "AIX "); osversion 5477 src/simh/scp.c (void)fprintf (st, "\n Host OS: IBM AIX %s", osversion); osversion 5479 src/simh/scp.c (void)fprintf (st, "\n Host OS: IBM OS/400 (PASE) %s", osversion);