From 408b92dbb5b1bbb81af068f23f8ddf25999da2f4 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Sat, 18 Feb 2006 10:46:53 +0000 Subject: * fhandler_disk_file.cc (FS_IS_SAMBA): Move out of path_conv::hasgood_inode. (path_conv::is_samba): New method. (fhandler_base::fstat_by_handle): Don't even try to use FileIdBothDirectoryInformation on Samba. * path.h (class path_conv): Declare is_samba method. --- winsup/cygwin/path.h | 1 + 1 file changed, 1 insertion(+) (limited to 'winsup/cygwin/path.h') diff --git a/winsup/cygwin/path.h b/winsup/cygwin/path.h index 9bc582bd0..91e0b04a5 100644 --- a/winsup/cygwin/path.h +++ b/winsup/cygwin/path.h @@ -137,6 +137,7 @@ class path_conv int has_acls () const {return fs.has_acls (); } int has_symlinks () const {return path_flags & PATH_HAS_SYMLINKS;} bool hasgood_inode (); /* Implemented in fhandler_disk_file.cc */ + bool is_samba (); /* Implemented in fhandler_disk_file.cc */ int has_buggy_open () const {return fs.has_buggy_open ();} bool isencoded () {return path_flags & PATH_ENC;} int binmode () const -- cgit v1.2.3