diff options
author | Christopher Faylor <me@cgf.cx> | 2001-05-14 02:52:12 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2001-05-14 02:52:12 +0000 |
commit | df7320e1ba746744947ebbd91641ee8720e803e4 (patch) | |
tree | 8b51a473d954829214b485a3142cf9ffe98c969a /winsup | |
parent | fb1a9f35e1ff1a3b7936d6757bf623a934f91fd9 (diff) | |
download | newlib-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')
-rw-r--r-- | winsup/cygwin/ChangeLog | 5 | ||||
-rw-r--r-- | winsup/cygwin/path.cc | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 5175ad2..8185325 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,8 @@ +Sun May 13 22:49:04 2001 Christopher Faylor <cgf@cygnus.com> + + * path.cc (path_conv::check): Revert allow_ntsec check so that volume + info is always retrieved and isdisk setting is properly set. + Sun May 13 14:02:36 2001 Christopher Faylor <cgf@cygnus.com> * fhandler_tty.cc (fhandler_tty_common::dup): Preserve O_NOCTTY when 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 ()); |