aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/globals.cc
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2009-11-06 20:51:03 +0000
committerCorinna Vinschen <corinna@vinschen.de>2009-11-06 20:51:03 +0000
commitb36d8c46e57442ac4dfb62dd602a610df230ff0e (patch)
tree330bb4de3ad090bc8179688227d3d5b89a9704ec /winsup/cygwin/globals.cc
parent38090b588c85f4d29f9b145d3e8a685c93fee579 (diff)
downloadnewlib-b36d8c46e57442ac4dfb62dd602a610df230ff0e.zip
newlib-b36d8c46e57442ac4dfb62dd602a610df230ff0e.tar.gz
newlib-b36d8c46e57442ac4dfb62dd602a610df230ff0e.tar.bz2
* globals.cc (ro_u_scr): New R/O unicode string.
(ro_u_sys): Ditto. * syscalls.cc (nt_path_has_suffix): Replace with ... (nt_path_has_executable_suffix): New function checking for explicit executable suffixes. (rename): Call nt_path_has_executable_suffix instead of nt_path_has_suffix. Check oldpath for nt_path_has_executable_suffix as well to set old_explicit_suffix.
Diffstat (limited to 'winsup/cygwin/globals.cc')
-rw-r--r--winsup/cygwin/globals.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/winsup/cygwin/globals.cc b/winsup/cygwin/globals.cc
index f30b6d0..e742b96 100644
--- a/winsup/cygwin/globals.cc
+++ b/winsup/cygwin/globals.cc
@@ -91,6 +91,8 @@ UNICODE_STRING _RDATA ro_u_empty = _ROU (L"");
UNICODE_STRING _RDATA ro_u_lnk = _ROU (L".lnk");
UNICODE_STRING _RDATA ro_u_exe = _ROU (L".exe");
UNICODE_STRING _RDATA ro_u_com = _ROU (L".com");
+UNICODE_STRING _RDATA ro_u_scr = _ROU (L".scr");
+UNICODE_STRING _RDATA ro_u_sys = _ROU (L".sys");
UNICODE_STRING _RDATA ro_u_proc = _ROU (L"proc");
UNICODE_STRING _RDATA ro_u_pmem = _ROU (L"\\device\\physicalmemory");
UNICODE_STRING _RDATA ro_u_natp = _ROU (L"\\??\\");