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>2010-08-20 12:52:25 +0400
committerCorinna Vinschen <corinna@vinschen.de>2010-08-20 12:52:25 +0400
commitdd442880afd7e5b4fcd4cfea35c010dbd24f8266 (patch)
tree47e3ad20743a3f775f8afc6d09e2a0af0779e3ac /winsup/cygwin/syscalls.cc
parentfb20493f3d7640a8ad54c00d2451d428ec39b017 (diff)
* fhandler_disk_file.cc (fhandler_disk_file::fstatvfs): Revert usage
of get_stat_handle () to get_handle (). Add comment to explain why. * syscalls.cc (statvfs): Drop using PC_KEEP_HANDLE.
Diffstat (limited to 'winsup/cygwin/syscalls.cc')
-rw-r--r--winsup/cygwin/syscalls.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/winsup/cygwin/syscalls.cc b/winsup/cygwin/syscalls.cc
index aaa4673a1..f13273c9f 100644
--- a/winsup/cygwin/syscalls.cc
+++ b/winsup/cygwin/syscalls.cc
@@ -2568,8 +2568,7 @@ statvfs (const char *name, struct statvfs *sfs)
if (efault.faulted (EFAULT))
goto error;
- if (!(fh = build_fh_name (name, PC_SYM_FOLLOW | PC_KEEP_HANDLE,
- stat_suffixes)))
+ if (!(fh = build_fh_name (name, PC_SYM_FOLLOW, stat_suffixes)))
goto error;
if (fh->error ())