* cygcheck.cc (dump_sysinfo): Evaluate and print state of
obcaseinsensitive kernel flag.
This commit is contained in:
parent
9c87160882
commit
bacd5877ba
@ -1,3 +1,8 @@
|
||||
2009-01-29 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* cygcheck.cc (dump_sysinfo): Evaluate and print state of
|
||||
obcaseinsensitive kernel flag.
|
||||
|
||||
2009-01-21 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* passwd.c: Remove CYGWIN=server requirement from usage text.
|
||||
|
@ -1208,6 +1208,8 @@ dump_sysinfo ()
|
||||
bool is_nt = false;
|
||||
bool more_info = true;
|
||||
char osname[128];
|
||||
DWORD obcaseinsensitive = 1;
|
||||
HKEY key;
|
||||
|
||||
printf ("\nCygwin Configuration Diagnostics\n");
|
||||
time (&now);
|
||||
@ -1523,6 +1525,17 @@ dump_sysinfo ()
|
||||
else
|
||||
printf ("Use '-r' to scan registry\n\n");
|
||||
|
||||
if (RegOpenKeyEx (HKEY_LOCAL_MACHINE,
|
||||
"SYSTEM\\CurrentControlSet\\Control\\Session Manager\\kernel",
|
||||
0, KEY_READ, &key) == ERROR_SUCCESS)
|
||||
{
|
||||
DWORD size;
|
||||
RegQueryValueEx (key, "obcaseinsensitive", NULL, NULL,
|
||||
(LPBYTE) &obcaseinsensitive, &size);
|
||||
RegCloseKey (key);
|
||||
}
|
||||
printf ("obcaseinsensitive set to %d\n\n", obcaseinsensitive);
|
||||
|
||||
if (givehelp)
|
||||
{
|
||||
printf ("Listing available drives...\n");
|
||||
|
Loading…
Reference in New Issue
Block a user