diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2005-05-10 09:08:20 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2005-05-10 09:08:20 +0000 |
commit | 94fed6a1f30cd620d94c791f529d2bd5f67aff41 (patch) | |
tree | 3ead232eb2fe39f76612998fccdc12973282d0b2 /winsup | |
parent | 96c837f0ca50aa9e625fdbc5fb9ba088fc99405d (diff) | |
download | newlib-94fed6a1f30cd620d94c791f529d2bd5f67aff41.zip newlib-94fed6a1f30cd620d94c791f529d2bd5f67aff41.tar.gz newlib-94fed6a1f30cd620d94c791f529d2bd5f67aff41.tar.bz2 |
* path.cc (path_conv::check): Set correct file attributes for socket
files.
Diffstat (limited to 'winsup')
-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; |