From 94fed6a1f30cd620d94c791f529d2bd5f67aff41 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Tue, 10 May 2005 09:08:20 +0000 Subject: [PATCH] * path.cc (path_conv::check): Set correct file attributes for socket files. --- winsup/cygwin/ChangeLog | 5 +++++ winsup/cygwin/path.cc | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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 + + * path.cc (path_conv::check): Set correct file attributes for socket + files. + 2005-05-09 Pierre Humblet * 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;