osversion 5080 src/simh/scp.c char osversion[PATH_MAX+1] = ""; osversion 5084 src/simh/scp.c memset (osversion, 0, sizeof(osversion)); osversion 5086 src/simh/scp.c if (NULL == fgets (osversion, sizeof(osversion)-1, f)) osversion 5088 src/simh/scp.c sim_trim_endspc (osversion); osversion 5089 src/simh/scp.c } while (osversion[0] == '\0'); osversion 5092 src/simh/scp.c fprintf (st, "\n Host OS: %s", osversion); osversion 5097 src/simh/scp.c char osversion[2*PATH_MAX+1] = ""; osversion 5119 src/simh/scp.c memset (osversion, 0, sizeof(osversion)); osversion 5121 src/simh/scp.c if (NULL == fgets (osversion, sizeof(osversion)-1, f)) { osversion 5124 src/simh/scp.c sim_trim_endspc (osversion); osversion 5125 src/simh/scp.c } while (osversion[0] == '\0'); osversion 5127 src/simh/scp.c strremove(osversion, "0000000000000000 "); osversion 5128 src/simh/scp.c strremove(osversion, " 0000000000000000"); osversion 5129 src/simh/scp.c strremove(osversion, "000000000000 "); osversion 5130 src/simh/scp.c strremove(osversion, " 000000000000"); osversion 5131 src/simh/scp.c strremove(osversion, "IBM "); osversion 5132 src/simh/scp.c strremove(osversion, " (emulated by qemu)"); osversion 5133 src/simh/scp.c strremove(osversion, " (emulated by QEMU)"); osversion 5136 src/simh/scp.c fprintf (st, "\n Host OS: %s", osversion); osversion 5138 src/simh/scp.c strremove(osversion, "AIX "); osversion 5139 src/simh/scp.c fprintf (st, "\n Host OS: IBM AIX %s", osversion);