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>2008-04-03 19:28:03 +0400
committerCorinna Vinschen <corinna@vinschen.de>2008-04-03 19:28:03 +0400
commitba047ace145fdcd203878cc32a88aba92a96e78c (patch)
tree8270591b8b54f89c55e762b6bfe201e08509668a /winsup/cygwin/init.cc
parentf47b47fb1841525a502f926cf2b673a9ab45129f (diff)
Cleanup.
* exceptions.cc (windows_system_directory): Make static. Convert to WCHAR. (_cygtls::inside_kernel): Accommodate above change. Check module path name for leading \\?\ and skip, if so. (try_to_debug): Call GetEnvironmentStringsW and convert evaluation to WCHAR to avoid truncated environment problem. (has_visible_window_station): Call GetUserObjectInformationW. (events_init): Accommodate above conversion of windows_system_directory. * init.cc (respawn_wow64_process): Use WCHAR functions to start new process. * net.cc (__dup_ent): Drop Windows 9x consideration. (load_ipv6_funcs): Use WCHAR functions to load IPv6 libs. * syscalls.cc (syscalls.cc): Remove call to GetDiskFreeSpace.
Diffstat (limited to 'winsup/cygwin/init.cc')
-rw-r--r--winsup/cygwin/init.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/winsup/cygwin/init.cc b/winsup/cygwin/init.cc
index 08deb5635..88c616f1a 100644
--- a/winsup/cygwin/init.cc
+++ b/winsup/cygwin/init.cc
@@ -97,11 +97,11 @@ respawn_wow64_process ()
if (!is_wow64_proc)
{
PROCESS_INFORMATION pi;
- STARTUPINFO si;
+ STARTUPINFOW si;
DWORD ret = 0;
- GetStartupInfo (&si);
- if (!CreateProcessA (NULL, GetCommandLineA (), NULL, NULL, TRUE,
+ GetStartupInfoW (&si);
+ if (!CreateProcessW (NULL, GetCommandLineW (), NULL, NULL, TRUE,
CREATE_DEFAULT_ERROR_MODE
| GetPriorityClass (GetCurrentProcess ()),
NULL, NULL, &si, &pi))