summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/path.cc
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/path.cc')
-rw-r--r--winsup/cygwin/path.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/winsup/cygwin/path.cc b/winsup/cygwin/path.cc
index 2e8626b2d..ed76f941e 100644
--- a/winsup/cygwin/path.cc
+++ b/winsup/cygwin/path.cc
@@ -549,6 +549,7 @@ path_conv::check (const char *src, unsigned opt,
else if (devn != FH_BAD)
{
fileattr = 0;
+ path_flags = sym.pflags;
if (component)
{
error = ENOTDIR;