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 /winsup/utils/path.cc
parent1de8d16415fbcb0f608605e51a031d3e872353d9 (diff)
* cygcheck.cc (common_apps): Add some more apps.
* path.cc (get_cygdrive): Correctly set system flag.
Diffstat (limited to 'winsup/utils/path.cc')
-rw-r--r--winsup/utils/path.cc2
1 files changed, 1 insertions, 1 deletions
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;
}