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-15 01:12:10 +0400
committerCorinna Vinschen <corinna@vinschen.de>2005-05-15 01:12:10 +0400
commitdad546a5ebf3b21179e2e1d9574f972112d39d9c (patch)
tree4e9a0a1259b5e36951cc0f9c23013b2e731b6ba5 /winsup/cygwin/fhandler_netdrive.cc
parent6dd9ec6c589d9b75cae74046d2a1e0e1c59b950f (diff)
* fhandler_disk_file.cc (fhandler_base::fstat_by_handle): Check
return code from GetFileSize and set file size to 0 if necessary. * fhandler_netdrive.cc (fhandler_netdrive::fstat): Set permissions to read/execute for all.
Diffstat (limited to 'winsup/cygwin/fhandler_netdrive.cc')
-rw-r--r--winsup/cygwin/fhandler_netdrive.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/fhandler_netdrive.cc b/winsup/cygwin/fhandler_netdrive.cc
index 58129cfc2..b1a6e8926 100644
--- a/winsup/cygwin/fhandler_netdrive.cc
+++ b/winsup/cygwin/fhandler_netdrive.cc
@@ -65,7 +65,7 @@ fhandler_netdrive::fstat (struct __stat64 *buf)
(void) fhandler_base::fstat (buf);
- buf->st_mode = S_IFDIR | S_IXUSR | S_IXGRP | S_IXOTH;
+ buf->st_mode = S_IFDIR | STD_RBITS | STD_XBITS;
return 0;
}