OSDN Git Service

* fhandler_disk_file.cc (fhandler_base::fstat_by_handle): Drop
authorcorinna <corinna>
Wed, 1 Aug 2007 12:55:24 +0000 (12:55 +0000)
committercorinna <corinna>
Wed, 1 Aug 2007 12:55:24 +0000 (12:55 +0000)
commitb0a49ef3f7d9f57f39a780077eb65d47e40f5f0f
treef946b78dccae1b5c25dacaeb04a284ea70264ae4
parent95ca198d77158d29265a6680f53c37bd2d4cbcaf
* fhandler_disk_file.cc (fhandler_base::fstat_by_handle): Drop
usage of path_conv::volser().
(fhandler_base::fstat_by_name): Ditto.
* ntdll.h (STATUS_NO_MEDIA_IN_DEVICE): Define.
(STATUS_OBJECT_NAME_NOT_FOUND): Define.
(FILE_REMOVABLE_MEDIA, FILE_READ_ONLY_DEVICE, FILE_FLOPPY_DISKETTE)
(FILE_WRITE_ONCE_MEDIA, FILE_REMOTE_DEVICE, FILE_DEVICE_IS_MOUNTED)
(FILE_VIRTUAL_VOLUME, FILE_AUTOGENERATED_DEVICE_NAME)
FILE_DEVICE_SECURE_OPEN): Define Device Characteristics.
(struct _FILE_FS_DEVICE_INFORMATION): Define.
* path.cc (MAX_FS_INFO_CNT): Remove.
(fsinfo): Remove.
(fsinfo_cnt): Remove.
(fs_info::update): Rewrite using native NT functions.  Drop fs_info
cashing since it's incorrect.
(path_conv::fillin): Use NtQueryInformationFile.  Drop setting serial
number.
(path_conv::check): Accommodate new fs_info::update parameters.
(fillout_mntent): Ditto.
* path.h (fs_info): Drop serial, has_ea and drive_type status
flags.
(fs_info::update): Declare with new parameters.
(path_conf::drive_type): Remove.
(path_conf::fs_has_ea): Remove.
(path_conf::volser): Remove.
winsup/cygwin/ChangeLog
winsup/cygwin/fhandler_disk_file.cc
winsup/cygwin/ntdll.h
winsup/cygwin/path.cc
winsup/cygwin/path.h