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>2005-05-10 13:08:20 +0400
committerCorinna Vinschen <corinna@vinschen.de>2005-05-10 13:08:20 +0400
commit94fed6a1f30cd620d94c791f529d2bd5f67aff41 (patch)
tree3ead232eb2fe39f76612998fccdc12973282d0b2
parent96c837f0ca50aa9e625fdbc5fb9ba088fc99405d (diff)
* path.cc (path_conv::check): Set correct file attributes for socket
files.
-rw-r--r--winsup/cygwin/ChangeLog5
-rw-r--r--winsup/cygwin/path.cc2
2 files changed, 6 insertions, 1 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index 1d45551a8..7fead992c 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,3 +1,8 @@
+2005-05-10 Corinna Vinschen <corinna@vinschen.de>
+
+ * path.cc (path_conv::check): Set correct file attributes for socket
+ files.
+
2005-05-09 Pierre Humblet <pierre.humblet@ieee.org>
* fhandler.h (class fhandler_netdrive): New class.
diff --git a/winsup/cygwin/path.cc b/winsup/cygwin/path.cc
index 71275d652..52a04fc9f 100644
--- a/winsup/cygwin/path.cc
+++ b/winsup/cygwin/path.cc
@@ -720,7 +720,7 @@ is_virtual_symlink:
error = ENOTDIR;
return;
}
- fileattr = 0;
+ fileattr = sym.fileattr;
dev.parse (FH_UNIX);
dev.setfs (1);
goto out;