]> sourceware.org Git - newlib-cygwin.git/commit
* fhandler_disk_file.cc (fhandler_disk_file::link): Use FILE_ANY_ACCESS.
authorCorinna Vinschen <corinna@vinschen.de>
Sun, 29 Jul 2007 12:27:22 +0000 (12:27 +0000)
committerCorinna Vinschen <corinna@vinschen.de>
Sun, 29 Jul 2007 12:27:22 +0000 (12:27 +0000)
commited7ec849f625609f8c8e061386adfcb593fcd54a
treebc8c388227696693176470ab0bc71d012c5a5a1d
parent4368984a7be56fc3a94f18488d1b8c6341327ce3
* 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.
winsup/cygwin/ChangeLog
winsup/cygwin/fhandler_disk_file.cc
winsup/cygwin/ntdll.h
winsup/cygwin/syscalls.cc
This page took 0.035494 seconds and 5 git commands to generate.