Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2007-07-31 19:20:00 +0400
committerCorinna Vinschen <corinna@vinschen.de>2007-07-31 19:20:00 +0400
commit9235f3ead1cc91bd1a864ecf635717823f1da610 (patch)
tree4b7ffdaf98112e1f9715805b01c00d5e1b185daf /winsup/cygwin/path.h
parent378692ee42bb29280c439600832e84a0ddb7471a (diff)
* 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.
Diffstat (limited to 'winsup/cygwin/path.h')
-rw-r--r--winsup/cygwin/path.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/winsup/cygwin/path.h b/winsup/cygwin/path.h
index c9ba9f311..390041813 100644
--- a/winsup/cygwin/path.h
+++ b/winsup/cygwin/path.h
@@ -300,6 +300,7 @@ class path_conv
{
return (sizeof (*this) - sizeof (path)) + strlen (path) + 1 + normalized_path_size;
}
+ bool is_binary ();
unsigned __stdcall ndisk_links (DWORD);
char *normalized_path;