diff options
-rw-r--r-- | winsup/cygwin/ChangeLog | 5 | ||||
-rw-r--r-- | winsup/cygwin/path.cc | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 1d45551..7fead99 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 71275d6..52a04fc 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; |