Cygwin: fhandler_disk_file::fstatvfs: refactor
Define a new method fhandler_base::fstatvfs_by_handle, extracted from fhandler_disk_file::fstatvfs, which gets the statvfs information when a handle is available. This will be used in future commits for special files that have been opened with O_PATH.
This commit is contained in:
@ -392,6 +392,7 @@ private:
|
||||
int __reg2 fstat_by_name (struct stat *buf);
|
||||
public:
|
||||
virtual int __reg2 fstatvfs (struct statvfs *buf);
|
||||
int __reg2 fstatvfs_by_handle (HANDLE h, struct statvfs *buf);
|
||||
int __reg2 utimens_fs (const struct timespec *);
|
||||
virtual int __reg1 fchmod (mode_t mode);
|
||||
virtual int __reg2 fchown (uid_t uid, gid_t gid);
|
||||
|
Reference in New Issue
Block a user