diff options
author | Christopher Faylor <me@cgf.cx> | 2005-06-18 01:36:18 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2005-06-18 01:36:18 +0000 |
commit | 91717fb80617f29725226c723a3c0c48d7126138 (patch) | |
tree | 9df5ef61e38aacd99ed01f98d9167bcc1e7698a9 /winsup/cygwin/wincap.cc | |
parent | 2bc6be1edace6a5465a920510a69dc459f70e5dd (diff) | |
download | cygnal-91717fb80617f29725226c723a3c0c48d7126138.tar.gz cygnal-91717fb80617f29725226c723a3c0c48d7126138.tar.bz2 cygnal-91717fb80617f29725226c723a3c0c48d7126138.zip |
* wincap.h (wincaps::detect_win16_exe): Declare.
(wincapc::detect_win16_exe): Implement.
* wincap.cc: Populate detect_win16_exe where appropriate.
* spawn.cc (spawn_guts): Only go out of the way to detect 16-bit apps on
systems which are flummoxed by them.
Diffstat (limited to 'winsup/cygwin/wincap.cc')
-rw-r--r-- | winsup/cygwin/wincap.cc | 36 |
1 files changed, 24 insertions, 12 deletions
diff --git a/winsup/cygwin/wincap.cc b/winsup/cygwin/wincap.cc index 9a790b087..0d0404702 100644 --- a/winsup/cygwin/wincap.cc +++ b/winsup/cygwin/wincap.cc @@ -57,7 +57,8 @@ static NO_COPY wincaps wincap_unknown = { has_ioctl_storage_get_media_types_ex:false, start_proc_suspended:true, has_extended_priority_class:false, - has_guid_volumes:false + has_guid_volumes:false, + detect_win16_exe:true }; static NO_COPY wincaps wincap_95 = { @@ -106,7 +107,8 @@ static NO_COPY wincaps wincap_95 = { has_ioctl_storage_get_media_types_ex:false, start_proc_suspended:true, has_extended_priority_class:false, - has_guid_volumes:false + has_guid_volumes:false, + detect_win16_exe:true }; static NO_COPY wincaps wincap_95osr2 = { @@ -155,7 +157,8 @@ static NO_COPY wincaps wincap_95osr2 = { has_ioctl_storage_get_media_types_ex:false, start_proc_suspended:true, has_extended_priority_class:false, - has_guid_volumes:false + has_guid_volumes:false, + detect_win16_exe:true }; static NO_COPY wincaps wincap_98 = { @@ -204,7 +207,8 @@ static NO_COPY wincaps wincap_98 = { has_ioctl_storage_get_media_types_ex:false, start_proc_suspended:true, has_extended_priority_class:false, - has_guid_volumes:false + has_guid_volumes:false, + detect_win16_exe:true }; static NO_COPY wincaps wincap_98se = { @@ -253,7 +257,8 @@ static NO_COPY wincaps wincap_98se = { has_ioctl_storage_get_media_types_ex:false, start_proc_suspended:true, has_extended_priority_class:false, - has_guid_volumes:false + has_guid_volumes:false, + detect_win16_exe:true }; static NO_COPY wincaps wincap_me = { @@ -302,7 +307,8 @@ static NO_COPY wincaps wincap_me = { has_ioctl_storage_get_media_types_ex:false, start_proc_suspended:true, has_extended_priority_class:false, - has_guid_volumes:false + has_guid_volumes:false, + detect_win16_exe:true }; static NO_COPY wincaps wincap_nt3 = { @@ -351,7 +357,8 @@ static NO_COPY wincaps wincap_nt3 = { has_ioctl_storage_get_media_types_ex:false, start_proc_suspended:false, has_extended_priority_class:false, - has_guid_volumes:false + has_guid_volumes:false, + detect_win16_exe:false }; static NO_COPY wincaps wincap_nt4 = { @@ -400,7 +407,8 @@ static NO_COPY wincaps wincap_nt4 = { has_ioctl_storage_get_media_types_ex:false, start_proc_suspended:false, has_extended_priority_class:false, - has_guid_volumes:false + has_guid_volumes:false, + detect_win16_exe:false }; static NO_COPY wincaps wincap_nt4sp4 = { @@ -449,7 +457,8 @@ static NO_COPY wincaps wincap_nt4sp4 = { has_ioctl_storage_get_media_types_ex:false, start_proc_suspended:false, has_extended_priority_class:false, - has_guid_volumes:false + has_guid_volumes:false, + detect_win16_exe:false }; static NO_COPY wincaps wincap_2000 = { @@ -498,7 +507,8 @@ static NO_COPY wincaps wincap_2000 = { has_ioctl_storage_get_media_types_ex:false, start_proc_suspended:false, has_extended_priority_class:true, - has_guid_volumes:true + has_guid_volumes:true, + detect_win16_exe:false }; static NO_COPY wincaps wincap_xp = { @@ -547,7 +557,8 @@ static NO_COPY wincaps wincap_xp = { has_ioctl_storage_get_media_types_ex:true, start_proc_suspended:false, has_extended_priority_class:true, - has_guid_volumes:true + has_guid_volumes:true, + detect_win16_exe:false }; static NO_COPY wincaps wincap_2003 = { @@ -596,7 +607,8 @@ static NO_COPY wincaps wincap_2003 = { has_ioctl_storage_get_media_types_ex:true, start_proc_suspended:false, has_extended_priority_class:true, - has_guid_volumes:true + has_guid_volumes:true, + detect_win16_exe:false }; wincapc wincap; |