aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/path.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2001-05-14 02:52:12 +0000
committerChristopher Faylor <me@cgf.cx>2001-05-14 02:52:12 +0000
commitdf7320e1ba746744947ebbd91641ee8720e803e4 (patch)
tree8b51a473d954829214b485a3142cf9ffe98c969a /winsup/cygwin/path.cc
parentfb1a9f35e1ff1a3b7936d6757bf623a934f91fd9 (diff)
downloadnewlib-df7320e1ba746744947ebbd91641ee8720e803e4.zip
newlib-df7320e1ba746744947ebbd91641ee8720e803e4.tar.gz
newlib-df7320e1ba746744947ebbd91641ee8720e803e4.tar.bz2
* 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 3fb4f56..43a0bfe 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 ());