From 9235f3ead1cc91bd1a864ecf635717823f1da610 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Tue, 31 Jul 2007 15:20:00 +0000 Subject: * fhandler_disk_file.cc (fhandler_disk_file::link): Revert to checking for binary in case of .exe files. * ntdll.h (RtlPrefixUnicodeString): Declare. * path.cc (path_conv::is_binary): New method. * path.h (path_conv::is_binary): Declare. * syscalls.cc (rename_append_suffix): New static helper function for rename. (rename): Rewrite. New suffix tests. Use native NT functions. --- winsup/cygwin/ntdll.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'winsup/cygwin/ntdll.h') diff --git a/winsup/cygwin/ntdll.h b/winsup/cygwin/ntdll.h index 7882eb15f..9e1606f34 100644 --- a/winsup/cygwin/ntdll.h +++ b/winsup/cygwin/ntdll.h @@ -797,6 +797,8 @@ extern "C" ULONG NTAPI RtlNtStatusToDosError (NTSTATUS); NTSTATUS NTAPI RtlOemStringToUnicodeString (PUNICODE_STRING, POEM_STRING, BOOLEAN); + BOOLEAN NTAPI RtlPrefixUnicodeString (PUNICODE_STRING, PUNICODE_STRING, + BOOLEAN); VOID NTAPI RtlSecondsSince1970ToTime (ULONG, PLARGE_INTEGER); /* A few Rtl functions are either actually macros, or they just don't -- cgit v1.2.3