Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2007-02-20 19:41:54 +0300
committerCorinna Vinschen <corinna@vinschen.de>2007-02-20 19:41:54 +0300
commit7db9fabc836e4bc56f47a31c9764c193f89bddfc (patch)
treee361ea2c9f1a3fd44d40326399c137afe803d19e /winsup/utils/cygcheck.cc
parent8fbd574ef065d5d71c933bbb76d8817300fbb487 (diff)
* cygcheck.cc (dump_sysinfo): Add "not supported" to osname on 9x
machines. Drop "not supported" for Vista. Drop "Longhorn" text for now.
Diffstat (limited to 'winsup/utils/cygcheck.cc')
-rw-r--r--winsup/utils/cygcheck.cc18
1 files changed, 6 insertions, 12 deletions
diff --git a/winsup/utils/cygcheck.cc b/winsup/utils/cygcheck.cc
index 62f185f8c..94498aa4e 100644
--- a/winsup/utils/cygcheck.cc
+++ b/winsup/utils/cygcheck.cc
@@ -1,7 +1,7 @@
/* cygcheck.cc
Copyright 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
- 2006 Red Hat, Inc.
+ 2006, 2007 Red Hat, Inc.
This file is part of Cygwin.
@@ -1148,29 +1148,23 @@ dump_sysinfo ()
switch (osversion.dwMinorVersion)
{
case 0:
- if (strchr (osversion.szCSDVersion, 'C'))
- osname = "95 OSR2";
- else
- osname = "95";
+ osname = "95 (not supported)";
break;
case 10:
- if (strchr (osversion.szCSDVersion, 'A'))
- osname = "98 SE";
- else
- osname = "98";
+ osname = "98 (not supported)";
break;
case 90:
- osname = "ME";
+ osname = "ME (not supported)";
break;
default:
- osname = "9X";
+ osname = "9X (not supported)";
break;
}
break;
case VER_PLATFORM_WIN32_NT:
is_nt = true;
if (osversion.dwMajorVersion == 6)
- osname = "Longhorn/Vista (not yet supported!)";
+ osname = "Vista";
else if (osversion.dwMajorVersion == 5)
{
BOOL more_info = FALSE;