diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2008-04-03 15:28:03 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2008-04-03 15:28:03 +0000 |
commit | ba047ace145fdcd203878cc32a88aba92a96e78c (patch) | |
tree | 8270591b8b54f89c55e762b6bfe201e08509668a /winsup/cygwin/syscalls.cc | |
parent | f47b47fb1841525a502f926cf2b673a9ab45129f (diff) | |
download | cygnal-ba047ace145fdcd203878cc32a88aba92a96e78c.tar.gz cygnal-ba047ace145fdcd203878cc32a88aba92a96e78c.tar.bz2 cygnal-ba047ace145fdcd203878cc32a88aba92a96e78c.zip |
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/syscalls.cc')
-rw-r--r-- | winsup/cygwin/syscalls.cc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/winsup/cygwin/syscalls.cc b/winsup/cygwin/syscalls.cc index 90e933dde..2d16085b8 100644 --- a/winsup/cygwin/syscalls.cc +++ b/winsup/cygwin/syscalls.cc @@ -3299,8 +3299,6 @@ long gethostid (void) or a STATUS_ACCESS_VIOLATION is generated */ ULARGE_INTEGER availb; GetDiskFreeSpaceEx ("C:\\", &availb, (PULARGE_INTEGER) &data[11], NULL); - if (GetLastError () == ERROR_PROC_NOT_FOUND) - GetDiskFreeSpace ("C:\\", NULL, NULL, NULL, (DWORD *)&data[11]); debug_printf ("hostid entropy: %08x %08x %08x %08x " "%08x %08x %08x %08x " |