diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2007-08-09 10:32:25 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2007-08-09 10:32:25 +0000 |
commit | 7d5f6c188746c6682389cf8a7830d63fb3c9743b (patch) | |
tree | 024faa52d1da5211be0993634526823fbdadadee /winsup/cygwin/ntdll.h | |
parent | 14e7bcfdc4f53d18ac6740a9204c09a156de4f5b (diff) | |
download | cygnal-7d5f6c188746c6682389cf8a7830d63fb3c9743b.tar.gz cygnal-7d5f6c188746c6682389cf8a7830d63fb3c9743b.tar.bz2 cygnal-7d5f6c188746c6682389cf8a7830d63fb3c9743b.zip |
* syscalls.cc (rename): Close oldpath file handle immediately after
trying to rename it. Use nfh handle when checking for non-empty
newpath directory. Only change status if check_dir_not_empty really
returns STATUS_DIRECTORY_NOT_EMPTY.
Diffstat (limited to 'winsup/cygwin/ntdll.h')
-rw-r--r-- | winsup/cygwin/ntdll.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/winsup/cygwin/ntdll.h b/winsup/cygwin/ntdll.h index 0eca36275..1475dd68e 100644 --- a/winsup/cygwin/ntdll.h +++ b/winsup/cygwin/ntdll.h @@ -806,6 +806,7 @@ extern "C" BOOLEAN); LONG NTAPI RtlCompareUnicodeString (PUNICODE_STRING, PUNICODE_STRING, BOOLEAN); + NTSTATUS NTAPI RtlConvertSidToUnicodeString (PUNICODE_STRING, PSID, BOOLEAN); VOID NTAPI RtlCopyUnicodeString (PUNICODE_STRING, PUNICODE_STRING); ULONG WINAPI RtlCreateUnicodeStringFromAsciiz (PUNICODE_STRING, PCSTR); BOOLEAN NTAPI RtlEqualUnicodeString (PUNICODE_STRING, PUNICODE_STRING, @@ -815,6 +816,7 @@ extern "C" VOID NTAPI RtlFreeUnicodeString (PUNICODE_STRING); VOID NTAPI RtlInitEmptyUnicodeString (PUNICODE_STRING, PCWSTR, USHORT); VOID NTAPI RtlInitUnicodeString (PUNICODE_STRING, PCWSTR); + NTSTATUS NTAPI RtlIntegerToUnicodeString (ULONG, ULONG, PUNICODE_STRING); ULONG NTAPI RtlIsDosDeviceName_U (PCWSTR); ULONG NTAPI RtlNtStatusToDosError (NTSTATUS); NTSTATUS NTAPI RtlOemStringToUnicodeString (PUNICODE_STRING, POEM_STRING, |