* cygcheck.cc (dump_sysinfo): Redefine output format slightly.
This commit is contained in:
parent
e1af9739e0
commit
d1ba802d67
|
@ -1,3 +1,7 @@
|
|||
2001-11-12 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* cygcheck.cc (dump_sysinfo): Redefine output format slightly.
|
||||
|
||||
2001-11-12 Christopher Faylor <cgf@redhat.com>
|
||||
|
||||
* cygcheck.cc (main): Slight formatting tweak.
|
||||
|
|
|
@ -847,9 +847,12 @@ dump_sysinfo ()
|
|||
osname = (char *) "??";
|
||||
break;
|
||||
}
|
||||
printf ("Windows %s Ver %d.%d build %d %s\n\n", osname,
|
||||
(int) osversion.dwMajorVersion, (int) osversion.dwMinorVersion,
|
||||
(int) osversion.dwBuildNumber, osversion.szCSDVersion);
|
||||
printf ("Windows %s Ver %lu.%lu Build %lu %s\n\n", osname,
|
||||
osversion.dwMajorVersion, osversion.dwMinorVersion,
|
||||
osversion.dwPlatformId == VER_PLATFORM_WIN32_NT ?
|
||||
osversion.dwBuildNumber : (osversion.dwBuildNumber & 0xffff),
|
||||
osversion.dwPlatformId == VER_PLATFORM_WIN32_NT ?
|
||||
osversion.szCSDVersion : "");
|
||||
|
||||
printf ("Path:");
|
||||
char *s = getenv ("PATH"), *e;
|
||||
|
|
Loading…
Reference in New Issue