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:
authorChristopher Faylor <me@cgf.cx>2003-02-07 07:51:26 +0300
committerChristopher Faylor <me@cgf.cx>2003-02-07 07:51:26 +0300
commit4a9cbef09d49a4ced1d3fc55219e9bbc5f937e2e (patch)
treeb41df84eda2618a64f127639e6eb9647f8f36b31
parent1de8d16415fbcb0f608605e51a031d3e872353d9 (diff)
* cygcheck.cc (common_apps): Add some more apps.
* path.cc (get_cygdrive): Correctly set system flag.
-rw-r--r--winsup/utils/ChangeLog5
-rw-r--r--winsup/utils/cygcheck.cc7
-rw-r--r--winsup/utils/path.cc2
3 files changed, 13 insertions, 1 deletions
diff --git a/winsup/utils/ChangeLog b/winsup/utils/ChangeLog
index 95a0d7b9a..236f44d8f 100644
--- a/winsup/utils/ChangeLog
+++ b/winsup/utils/ChangeLog
@@ -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.
diff --git a/winsup/utils/cygcheck.cc b/winsup/utils/cygcheck.cc
index 9799810cf..41fb26540 100644
--- a/winsup/utils/cygcheck.cc
+++ b/winsup/utils/cygcheck.cc
@@ -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}
};
diff --git a/winsup/utils/path.cc b/winsup/utils/path.cc
index c72cefc29..af957411c 100644
--- a/winsup/utils/path.cc
+++ b/winsup/utils/path.cc
@@ -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;
}