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>2014-10-09 21:45:27 +0400
committerCorinna Vinschen <corinna@vinschen.de>2014-10-09 21:45:27 +0400
commitf49469bb1efd493811e7d475daa89743623ce424 (patch)
tree4ca4c1156c6c059b95a6cea28ba605583b8140e2 /winsup/cygwin/globals.cc
parent50f799240ec354800dd4fe9410807d58f124103a (diff)
* fhandler_procsys.cc (fhandler_procsys::readdir): Just test
ObjectTypeName for object types rather than calling lstat to avoid performance hit. * globals.cc (ro_u_natdir): Define. (ro_u_natsyml): Define. (ro_u_natdev): Define.
Diffstat (limited to 'winsup/cygwin/globals.cc')
-rw-r--r--winsup/cygwin/globals.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/winsup/cygwin/globals.cc b/winsup/cygwin/globals.cc
index a004276d7..ff80a4b6d 100644
--- a/winsup/cygwin/globals.cc
+++ b/winsup/cygwin/globals.cc
@@ -148,6 +148,9 @@ extern "C" {
extern UNICODE_STRING _RDATA ro_u_pipedir = _ROU (L"\\\\?\\PIPE\\");
extern UNICODE_STRING _RDATA ro_u_globalroot = _ROU (L"\\\\.\\GLOBALROOT");
extern UNICODE_STRING _RDATA ro_u_null = _ROU (L"\\Device\\Null");
+ extern UNICODE_STRING _RDATA ro_u_natdir = _ROU (L"Directory");
+ extern UNICODE_STRING _RDATA ro_u_natsyml = _ROU (L"SymbolicLink");
+ extern UNICODE_STRING _RDATA ro_u_natdev = _ROU (L"Device");
#undef _ROU
/* Cygwin properties are meant to be readonly data placed in the DLL, but