diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2007-07-29 12:27:22 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2007-07-29 12:27:22 +0000 |
commit | ed7ec849f625609f8c8e061386adfcb593fcd54a (patch) | |
tree | bc8c388227696693176470ab0bc71d012c5a5a1d /winsup/cygwin/fhandler.cc | |
parent | 4368984a7be56fc3a94f18488d1b8c6341327ce3 (diff) | |
download | cygnal-ed7ec849f625609f8c8e061386adfcb593fcd54a.tar.gz cygnal-ed7ec849f625609f8c8e061386adfcb593fcd54a.tar.bz2 cygnal-ed7ec849f625609f8c8e061386adfcb593fcd54a.zip |
* fhandler_disk_file.cc (fhandler_disk_file::link): Use FILE_ANY_ACCESS.
(fhandler_base::utimes_fs): Fix white space.
(fhandler_disk_file::lock): Remove 9x blurb from comment.
(fhandler_disk_file::mkdir): Use NtCreateFile/NtClose instead of
CreateDirectoryA.
(fhandler_disk_file::rmdir): Accommodate changes to unlink_nt.
Simplify post-delete SMB-related tests. Use NtQueryAttributesFile
instead of GetFileAttributes.
* ntdll.h (STATUS_DIRECTORY_NOT_EMPTY): Define.
(NtQueryAttributesFile): Declare.
* syscalls.cc (unlink_nt): Return NTSTATUS. Drop setattrs parameter.
Never use FILE_DELETE_ON_CLOSE, always use
NtSetInformationFile(FileDispositionInformation) instead.
Check for R/O attributes and open file with FILE_WRITE_ATTRIBUTES
access if any of them are set. Remove R/O attributes before
marking for delete if necessary. Revert them afterwards if necessary.
(unlink): Accommodate changes to unlink_nt.
Diffstat (limited to 'winsup/cygwin/fhandler.cc')
0 files changed, 0 insertions, 0 deletions