* 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

@ -1,3 +1,8 @@
2003-02-06 Christopher Faylor <cgf@redhat.com>
* cygcheck.cc (common_apps): Add some more apps.
* path.cc (get_cygdrive): Correctly set system flag.
2003-01-22 Corinna Vinschen <corinna@vinschen.de>
* Makefile.in (ALL_LDFLAGS): Remove newlib/libm from tools paths.

View File

@ -66,16 +66,23 @@ struct
int missing_is_good;
}
static common_apps[] = {
{"awk", 0},
{"bash", 0},
{"cat", 0},
{"cp", 0},
{"cpp", 1},
{"find", 0},
{"gcc", 0},
{"gdb", 0},
{"grep", 0},
{"ld", 0},
{"ls", 0},
{"make", 0},
{"mv", 0},
{"rm", 0},
{"sed", 0},
{"sh", 0},
{"tar", 0},
{0, 0}
};

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;
}