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>2002-06-09 09:08:44 +0400
committerChristopher Faylor <me@cgf.cx>2002-06-09 09:08:44 +0400
commit548e0dad4be0b84b1b358e11cd3aff931dd394d3 (patch)
tree05e1dc361fc038b6b3766040b1ac700e601cae4c /winsup/utils/path.cc
parent3c1736432d262a979e74bed9e761fe52a82a8fbd (diff)
* path.cc (cygpath): Change MOUNT_AUTO to MOUNT_CYGDRIVE.
(getmntent): Ditto.
Diffstat (limited to 'winsup/utils/path.cc')
-rw-r--r--winsup/utils/path.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/winsup/utils/path.cc b/winsup/utils/path.cc
index d7d967098..c72cefc29 100644
--- a/winsup/utils/path.cc
+++ b/winsup/utils/path.cc
@@ -283,7 +283,7 @@ cygpath (const char *s, ...)
for (m = mount_table; m->posix ; m++)
{
- if (m->flags & MOUNT_AUTO)
+ if (m->flags & MOUNT_CYGDRIVE)
continue;
int n = strlen (m->posix);
@@ -341,8 +341,8 @@ getmntent (FILE *)
strcat (mnt.mnt_opts, (char *) ",cygexec");
else if (m->flags & MOUNT_EXEC)
strcat (mnt.mnt_opts, (char *) ",exec");
- if ((m->flags & MOUNT_AUTO)) /* cygdrive */
- strcat (mnt.mnt_opts, (char *) ",noumount");
+ if ((m->flags & MOUNT_CYGDRIVE)) /* cygdrive */
+ strcat (mnt.mnt_opts, (char *) ",cygdrive");
mnt.mnt_freq = 1;
mnt.mnt_passno = 1;
m++;