From eef57fe1e33dddda8840188a62365393a683fb54 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Thu, 22 Feb 2007 17:09:46 +0000 Subject: * fhandler.cc (fhandler_base::set_no_inheritance): Always use SetHandleInformation. * fhandler_disk_file.cc (fhandler_disk_file::lock): Always use UnlockFileEx/LockFileEx functions. * net.cc (fdsock): Don't bother to duplicate socket for inheritance. * sysconf.cc (get_nproc_values): Take NT for granted. (get_avphys): Ditto. * syslog.cc (WIN95_EVENT_LOG_PATH): Remove define. (get_win95_event_log_path): Remove. (vsyslog): Fix formatting. Take NT for granted. * wincap.cc: Remove has_lock_file_ex, has_signal_object_and_wait, has_eventlog, has_set_handle_information, has_set_handle_information_on_console_handles and supports_smp throughout. * wincap.h: Ditto. --- winsup/cygwin/wincap.cc | 42 ------------------------------------------ 1 file changed, 42 deletions(-) (limited to 'winsup/cygwin/wincap.cc') diff --git a/winsup/cygwin/wincap.cc b/winsup/cygwin/wincap.cc index a209dce99..8c9034f40 100644 --- a/winsup/cygwin/wincap.cc +++ b/winsup/cygwin/wincap.cc @@ -19,13 +19,7 @@ static NO_COPY wincaps wincap_unknown = { is_server:false, has_security:true, has_security_descriptor_control:false, - has_lock_file_ex:true, - has_signal_object_and_wait:true, - has_eventlog:true, has_ip_helper_lib:false, - has_set_handle_information:true, - has_set_handle_information_on_console_handles:false, - supports_smp:true, map_view_of_file_ex_sucks:false, altgr_is_ctrl_alt:true, has_physical_mem_access:true, @@ -78,13 +72,7 @@ static NO_COPY wincaps wincap_nt4 = { is_server:false, has_security:true, has_security_descriptor_control:false, - has_lock_file_ex:true, - has_signal_object_and_wait:true, - has_eventlog:true, has_ip_helper_lib:false, - has_set_handle_information:true, - has_set_handle_information_on_console_handles:false, - supports_smp:true, map_view_of_file_ex_sucks:false, altgr_is_ctrl_alt:true, has_physical_mem_access:true, @@ -137,13 +125,7 @@ static NO_COPY wincaps wincap_nt4sp4 = { is_server:false, has_security:true, has_security_descriptor_control:false, - has_lock_file_ex:true, - has_signal_object_and_wait:true, - has_eventlog:true, has_ip_helper_lib:true, - has_set_handle_information:true, - has_set_handle_information_on_console_handles:false, - supports_smp:true, map_view_of_file_ex_sucks:false, altgr_is_ctrl_alt:true, has_physical_mem_access:true, @@ -196,13 +178,7 @@ static NO_COPY wincaps wincap_2000 = { is_server:false, has_security:true, has_security_descriptor_control:true, - has_lock_file_ex:true, - has_signal_object_and_wait:true, - has_eventlog:true, has_ip_helper_lib:true, - has_set_handle_information:true, - has_set_handle_information_on_console_handles:true, - supports_smp:true, map_view_of_file_ex_sucks:false, altgr_is_ctrl_alt:true, has_physical_mem_access:true, @@ -255,13 +231,7 @@ static NO_COPY wincaps wincap_xp = { is_server:false, has_security:true, has_security_descriptor_control:true, - has_lock_file_ex:true, - has_signal_object_and_wait:true, - has_eventlog:true, has_ip_helper_lib:true, - has_set_handle_information:true, - has_set_handle_information_on_console_handles:true, - supports_smp:true, map_view_of_file_ex_sucks:false, altgr_is_ctrl_alt:true, has_physical_mem_access:true, @@ -314,13 +284,7 @@ static NO_COPY wincaps wincap_2003 = { is_server:true, has_security:true, has_security_descriptor_control:true, - has_lock_file_ex:true, - has_signal_object_and_wait:true, - has_eventlog:true, has_ip_helper_lib:true, - has_set_handle_information:true, - has_set_handle_information_on_console_handles:true, - supports_smp:true, map_view_of_file_ex_sucks:false, altgr_is_ctrl_alt:true, has_physical_mem_access:false, @@ -373,13 +337,7 @@ static NO_COPY wincaps wincap_vista = { is_server:false, has_security:true, has_security_descriptor_control:true, - has_lock_file_ex:true, - has_signal_object_and_wait:true, - has_eventlog:true, has_ip_helper_lib:true, - has_set_handle_information:true, - has_set_handle_information_on_console_handles:true, - supports_smp:true, map_view_of_file_ex_sucks:false, altgr_is_ctrl_alt:true, has_physical_mem_access:false, -- cgit v1.2.3