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>2001-05-14 06:52:12 +0400
committerChristopher Faylor <me@cgf.cx>2001-05-14 06:52:12 +0400
commitdf7320e1ba746744947ebbd91641ee8720e803e4 (patch)
tree8b51a473d954829214b485a3142cf9ffe98c969a /winsup/cygwin/path.cc
parentfb1a9f35e1ff1a3b7936d6757bf623a934f91fd9 (diff)
* path.cc (path_conv::check): Revert allow_ntsec check so that volume info is
always retrieved and isdisk setting is properly set.
Diffstat (limited to 'winsup/cygwin/path.cc')
-rw-r--r--winsup/cygwin/path.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/path.cc b/winsup/cygwin/path.cc
index 3fb4f56c3..43a0bfe8b 100644
--- a/winsup/cygwin/path.cc
+++ b/winsup/cygwin/path.cc
@@ -639,9 +639,9 @@ out:
strcpy (tmp_buf, this->path);
- if (allow_ntsec && (!rootdir (tmp_buf) ||
+ if (!rootdir (tmp_buf) ||
!GetVolumeInformation (tmp_buf, NULL, 0, &serial, NULL,
- &volflags, fs_name, 16)))
+ &volflags, fs_name, 16))
{
debug_printf ("GetVolumeInformation(%s) = ERR, this->path(%s), set_has_acls(FALSE)",
tmp_buf, this->path, GetLastError ());