* cygcheck.cc (common_apps): Add some more apps.
* path.cc (get_cygdrive): Correctly set system flag.
This commit is contained in:
parent
1de8d16415
commit
4a9cbef09d
winsup/utils
|
@ -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>
|
2003-01-22 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
* Makefile.in (ALL_LDFLAGS): Remove newlib/libm from tools paths.
|
* Makefile.in (ALL_LDFLAGS): Remove newlib/libm from tools paths.
|
||||||
|
|
|
@ -66,16 +66,23 @@ struct
|
||||||
int missing_is_good;
|
int missing_is_good;
|
||||||
}
|
}
|
||||||
static common_apps[] = {
|
static common_apps[] = {
|
||||||
|
{"awk", 0},
|
||||||
{"bash", 0},
|
{"bash", 0},
|
||||||
{"cat", 0},
|
{"cat", 0},
|
||||||
|
{"cp", 0},
|
||||||
{"cpp", 1},
|
{"cpp", 1},
|
||||||
{"find", 0},
|
{"find", 0},
|
||||||
{"gcc", 0},
|
{"gcc", 0},
|
||||||
{"gdb", 0},
|
{"gdb", 0},
|
||||||
|
{"grep", 0},
|
||||||
{"ld", 0},
|
{"ld", 0},
|
||||||
{"ls", 0},
|
{"ls", 0},
|
||||||
{"make", 0},
|
{"make", 0},
|
||||||
|
{"mv", 0},
|
||||||
|
{"rm", 0},
|
||||||
|
{"sed", 0},
|
||||||
{"sh", 0},
|
{"sh", 0},
|
||||||
|
{"tar", 0},
|
||||||
{0, 0}
|
{0, 0}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -78,7 +78,6 @@ get_cygdrive0 (HKEY key, const char *what, void *val, DWORD len)
|
||||||
static mnt *
|
static mnt *
|
||||||
get_cygdrive (HKEY key, mnt *m, int issystem)
|
get_cygdrive (HKEY key, mnt *m, int issystem)
|
||||||
{
|
{
|
||||||
|
|
||||||
if (get_cygdrive0 (key, CYGWIN_INFO_CYGDRIVE_FLAGS, &m->flags,
|
if (get_cygdrive0 (key, CYGWIN_INFO_CYGDRIVE_FLAGS, &m->flags,
|
||||||
sizeof (m->flags)) != ERROR_SUCCESS) {
|
sizeof (m->flags)) != ERROR_SUCCESS) {
|
||||||
free (m->posix);
|
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);
|
get_cygdrive0 (key, CYGWIN_INFO_CYGDRIVE_PREFIX, m->posix, MAX_PATH);
|
||||||
m->native = strdup (".");
|
m->native = strdup (".");
|
||||||
|
m->issys = issystem;
|
||||||
return m + 1;
|
return m + 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue