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:
authorCorinna Vinschen <corinna@vinschen.de>2009-07-22 22:21:09 +0400
committerCorinna Vinschen <corinna@vinschen.de>2009-07-22 22:21:09 +0400
commitc45871c9c5c38603fb754281081559d5c6502a89 (patch)
tree9fb7616039d3d2c01e729b4c166ff0c212c96490
parent3955529c8b351de06a733adb225b195bb82eba91 (diff)
* path.cc (symlink_info::check): Handle STATUS_NOT_SUPPORTED from
NtCreateFile just like STATUS_EAS_NOT_SUPPORTED.
-rw-r--r--winsup/cygwin/ChangeLog5
-rw-r--r--winsup/cygwin/path.cc4
2 files changed, 8 insertions, 1 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index 6165d8efc..8e956db5c 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,5 +1,10 @@
2009-07-22 Corinna Vinschen <corinna@vinschen.de>
+ * path.cc (symlink_info::check): Handle STATUS_NOT_SUPPORTED from
+ NtCreateFile just like STATUS_EAS_NOT_SUPPORTED.
+
+2009-07-22 Corinna Vinschen <corinna@vinschen.de>
+
* mount.cc (fillout_mntent): Fix typo (noexec -> notexec).
2009-07-22 Corinna Vinschen <corinna@vinschen.de>
diff --git a/winsup/cygwin/path.cc b/winsup/cygwin/path.cc
index 325d7b8f8..4f224429d 100644
--- a/winsup/cygwin/path.cc
+++ b/winsup/cygwin/path.cc
@@ -2210,6 +2210,7 @@ symlink_info::check (char *path, const suffix_info *suffixes, unsigned opt,
eabuf, easize);
/* No right to access EAs or EAs not supported? */
if (status == STATUS_ACCESS_DENIED || status == STATUS_EAS_NOT_SUPPORTED
+ || status == STATUS_NOT_SUPPORTED
/* Or a bug in Samba 3.2.x (x <= 7) when accessing a share's root dir
which has EAs enabled? */
|| status == STATUS_INVALID_PARAMETER)
@@ -2217,7 +2218,8 @@ symlink_info::check (char *path, const suffix_info *suffixes, unsigned opt,
no_ea = true;
/* If EAs are not supported, there's no sense to check them again
with suffixes attached. So we set eabuf/easize to 0 here once. */
- if (status == STATUS_EAS_NOT_SUPPORTED)
+ if (status == STATUS_EAS_NOT_SUPPORTED
+ || status == STATUS_NOT_SUPPORTED)
{
eabuf = NULL;
easize = 0;