summaryrefslogtreecommitdiffstats
path: root/winsup/utils/path.cc
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/utils/path.cc')
-rw-r--r--winsup/utils/path.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/winsup/utils/path.cc b/winsup/utils/path.cc
index b7ddfde1b..d7d967098 100644
--- a/winsup/utils/path.cc
+++ b/winsup/utils/path.cc
@@ -283,6 +283,9 @@ cygpath (const char *s, ...)
for (m = mount_table; m->posix ; m++)
{
+ if (m->flags & MOUNT_AUTO)
+ continue;
+
int n = strlen (m->posix);
if (n < max_len || !path_prefix_p (m->posix, path, n))
continue;