diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2007-07-29 15:57:41 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2007-07-29 15:57:41 +0000 |
commit | 9d017bd09cf60644db45802bb2e5fd5ffaed619a (patch) | |
tree | 6ed2f4a2155f7e3c4a0e32901503681f92e23b8c /winsup/cygwin/fhandler.cc | |
parent | ed7ec849f625609f8c8e061386adfcb593fcd54a (diff) | |
download | cygnal-9d017bd09cf60644db45802bb2e5fd5ffaed619a.tar.gz cygnal-9d017bd09cf60644db45802bb2e5fd5ffaed619a.tar.bz2 cygnal-9d017bd09cf60644db45802bb2e5fd5ffaed619a.zip |
* fhandler_disk_file.cc (fhandler_disk_file::fchmod): Don't allow
FileAttributes set to 0 when calling NtSetInformationFile since it has
a special meaning.
(fhandler_disk_file::facl): Ditto.
(fhandler_disk_file::link): Only set attributes after copying files.
Use SetFileAttributesW.
* syscalls.cc (unlink_nt): Only care for actual FILE_ATTRIBUTE_READONLY.
Don't allow FileAttributes set to 0 when calling NtSetInformationFile.
After marking for deletion, restore R/O attribute on files to
accommodate hardlinks.
Diffstat (limited to 'winsup/cygwin/fhandler.cc')
0 files changed, 0 insertions, 0 deletions