* cygcheck.cc (common_apps): Add some more apps.

* path.cc (get_cygdrive): Correctly set system flag.
This commit is contained in:
Christopher Faylor
2003-02-07 04:51:26 +00:00
parent 1de8d16415
commit 4a9cbef09d
3 changed files with 13 additions and 1 deletions

View File

@ -78,7 +78,6 @@ get_cygdrive0 (HKEY key, const char *what, void *val, DWORD len)
static mnt *
get_cygdrive (HKEY key, mnt *m, int issystem)
{
if (get_cygdrive0 (key, CYGWIN_INFO_CYGDRIVE_FLAGS, &m->flags,
sizeof (m->flags)) != ERROR_SUCCESS) {
free (m->posix);
@ -86,6 +85,7 @@ get_cygdrive (HKEY key, mnt *m, int issystem)
}
get_cygdrive0 (key, CYGWIN_INFO_CYGDRIVE_PREFIX, m->posix, MAX_PATH);
m->native = strdup (".");
m->issys = issystem;
return m + 1;
}