diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2005-04-12 14:26:31 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2005-04-12 14:26:31 +0000 |
commit | 2a24463d0bfef5d94e0918583cfffcf3a949f0df (patch) | |
tree | a668d4a76e9022ea6173c84c2aa4a3a5a7d4b2d2 /winsup/cygwin/ChangeLog | |
parent | 576d455f5f6266a1f8fbcadcbb02e46e96ece631 (diff) | |
download | cygnal-2a24463d0bfef5d94e0918583cfffcf3a949f0df.tar.gz cygnal-2a24463d0bfef5d94e0918583cfffcf3a949f0df.tar.bz2 cygnal-2a24463d0bfef5d94e0918583cfffcf3a949f0df.zip |
* autoload.cc (NtQueryVolumeInformationFile): Add.
* fhandler.cc (fhandler_base::raw_write): Don't touch has_changed flag.
* fhandler.h (enum change_state): Remove.
(fhandler_base::status): Revert has_changed to a simple bit.
(fhandler_base::fstat_helper): Add nAllocSize parameter. Rename
ftCreationTime to ftChangeTime.
* fhandler_disk_file.cc:
Call fstat_helper with additional
allocation size throughout.
(fhandler_base::fstat_by_handle): Use NT native functions to get
full file information on NT. Call fstat_helper with LastWriteTime
as ctime, if ChangeTime is not available.
(fhandler_base::fstat_by_name): Call fstat_helper with LastWriteTime
as ctime.
(fhandler_base::fstat_helper): Add comment. Drop special FAT
handling since it's useless. Use nAllocSize for st_blocks if available.
(fhandler_disk_file::touch_ctime): Only touch LastWriteTime.
(fhandler_disk_file::fchmod): Set has_changed on 9x only.
(fhandler_disk_file::fchown): Don't set has_changed.
(fhandler_disk_file::facl): Ditto.
(fhandler_disk_file::ftruncate): Ditto.
(fhandler_disk_file::link): Set has_changed on 9x only and on original
file only.
(fhandler_base::open_fs): Don't set has_changed in O_TRUNC case.
* ntdll.h (FILE_BASIC_INFORMATION): Define.
(FILE_STANDARD_INFORMATION): Define.
(FILE_INTERNAL_INFORMATION): Define.
(FILE_EA_INFORMATION): Define.
(FILE_ACCESS_INFORMATION): Define.
(FILE_POSITION_INFORMATION): Define.
(FILE_MODE_INFORMATION): Define.
(FILE_ALIGNMENT_INFORMATION): Define.
(FILE_NAME_INFORMATION): Don't define with arbitrary FileName size.
(FILE_ALL_INFORMATION): Define.
(FILE_INFORMATION_CLASS): Add FileAllInformation.
(FILE_FS_VOLUME_INFORMATION): Define.
(FS_INFORMATION_CLASS): Define.
(NtQueryVolumeInformationFile): Define.
Diffstat (limited to 'winsup/cygwin/ChangeLog')
-rw-r--r-- | winsup/cygwin/ChangeLog | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index d330c5cfa..958941efe 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,44 @@ +2005-04-12 Corinna Vinschen <corinna@vinschen.de> + + * autoload.cc (NtQueryVolumeInformationFile): Add. + * fhandler.cc (fhandler_base::raw_write): Don't touch has_changed flag. + * fhandler.h (enum change_state): Remove. + (fhandler_base::status): Revert has_changed to a simple bit. + (fhandler_base::fstat_helper): Add nAllocSize parameter. Rename + ftCreationTime to ftChangeTime. + * fhandler_disk_file.cc: + Call fstat_helper with additional + allocation size throughout. + (fhandler_base::fstat_by_handle): Use NT native functions to get + full file information on NT. Call fstat_helper with LastWriteTime + as ctime, if ChangeTime is not available. + (fhandler_base::fstat_by_name): Call fstat_helper with LastWriteTime + as ctime. + (fhandler_base::fstat_helper): Add comment. Drop special FAT + handling since it's useless. Use nAllocSize for st_blocks if available. + (fhandler_disk_file::touch_ctime): Only touch LastWriteTime. + (fhandler_disk_file::fchmod): Set has_changed on 9x only. + (fhandler_disk_file::fchown): Don't set has_changed. + (fhandler_disk_file::facl): Ditto. + (fhandler_disk_file::ftruncate): Ditto. + (fhandler_disk_file::link): Set has_changed on 9x only and on original + file only. + (fhandler_base::open_fs): Don't set has_changed in O_TRUNC case. + * ntdll.h (FILE_BASIC_INFORMATION): Define. + (FILE_STANDARD_INFORMATION): Define. + (FILE_INTERNAL_INFORMATION): Define. + (FILE_EA_INFORMATION): Define. + (FILE_ACCESS_INFORMATION): Define. + (FILE_POSITION_INFORMATION): Define. + (FILE_MODE_INFORMATION): Define. + (FILE_ALIGNMENT_INFORMATION): Define. + (FILE_NAME_INFORMATION): Don't define with arbitrary FileName size. + (FILE_ALL_INFORMATION): Define. + (FILE_INFORMATION_CLASS): Add FileAllInformation. + (FILE_FS_VOLUME_INFORMATION): Define. + (FS_INFORMATION_CLASS): Define. + (NtQueryVolumeInformationFile): Define. + 2005-04-11 Corinna Vinschen <corinna@vinschen.de> Revert previous patch. |