diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2007-07-29 08:23:04 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2007-07-29 08:23:04 +0000 |
commit | 4368984a7be56fc3a94f18488d1b8c6341327ce3 (patch) | |
tree | 6fcbfcbd65672098d56c0f040794774efe7c05f9 /winsup/cygwin/ntdll.h | |
parent | ee2984326b89e0a38598c0bdf0aa7c76d865c9ed (diff) | |
download | cygnal-4368984a7be56fc3a94f18488d1b8c6341327ce3.tar.gz cygnal-4368984a7be56fc3a94f18488d1b8c6341327ce3.tar.bz2 cygnal-4368984a7be56fc3a94f18488d1b8c6341327ce3.zip |
* fhandler_disk_file.cc: Use get_handle throughout.
(fhandler_disk_file::fchmod): Always try to open file with required
access rights. Use NtSetInformationFile instead of SetFileAttributes.
(fhandler_disk_file::facl): Use NtSetInformationFile instead of
SetFileAttributes.
(fhandler_base::utimes_fs): Change lastaccess and lastwrite to
LARGE_INTEGER. Drop 9x directory case. Use NtSetInformationFile
instead of SetFileAttributes. Drop temporarily changing R/O attribute
since NtSetInformationFile(FileBasicInformation) also works on R/O
files.
* ntdll.h (STATUS_NOT_SUPPORTED): Define.
Diffstat (limited to 'winsup/cygwin/ntdll.h')
-rw-r--r-- | winsup/cygwin/ntdll.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/winsup/cygwin/ntdll.h b/winsup/cygwin/ntdll.h index 00863a78a..75b11463a 100644 --- a/winsup/cygwin/ntdll.h +++ b/winsup/cygwin/ntdll.h @@ -20,6 +20,7 @@ #define STATUS_SHARING_VIOLATION ((NTSTATUS) 0xc0000043) #define STATUS_DELETE_PENDING ((NTSTATUS) 0xc0000056) #define STATUS_WORKING_SET_QUOTA ((NTSTATUS) 0xc00000a1) +#define STATUS_NOT_SUPPORTED ((NTSTATUS) 0xc00000bb) #define STATUS_NOT_ALL_ASSIGNED ((NTSTATUS) 0x00000106) #define STATUS_INVALID_LEVEL ((NTSTATUS) 0xc0000148) #define STATUS_NO_MORE_FILES ((NTSTATUS) 0x80000006) |