diff options
author | Christopher Faylor <me@cgf.cx> | 2002-10-15 17:04:20 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2002-10-15 17:04:20 +0000 |
commit | 6c6c3b90e9a8f0b0ffa9d6f1e064613afe43ccb6 (patch) | |
tree | 65694f4ae6e38b635fcfee55a0adf63fb45ed587 /winsup/cygwin/wincap.cc | |
parent | fdb28b5e5f813721add3ba2b261dfe78f3b895cb (diff) | |
download | cygnal-6c6c3b90e9a8f0b0ffa9d6f1e064613afe43ccb6.tar.gz cygnal-6c6c3b90e9a8f0b0ffa9d6f1e064613afe43ccb6.tar.bz2 cygnal-6c6c3b90e9a8f0b0ffa9d6f1e064613afe43ccb6.zip |
* shared.cc (open_shared): Revert to "old" method for shared memory location if
!wincap.needs_memory_protection.
* wincap.cc: Implement needs_memory_protection throughout.
* wincap.h: Ditto.
Diffstat (limited to 'winsup/cygwin/wincap.cc')
-rw-r--r-- | winsup/cygwin/wincap.cc | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/winsup/cygwin/wincap.cc b/winsup/cygwin/wincap.cc index 01b6660b3..e70a362da 100644 --- a/winsup/cygwin/wincap.cc +++ b/winsup/cygwin/wincap.cc @@ -47,6 +47,7 @@ static NO_COPY wincaps wincap_unknown = { has_64bit_file_access:false, has_process_io_counters:false, supports_reading_modem_output_lines:false, + needs_memory_protection:false }; static NO_COPY wincaps wincap_95 = { @@ -85,6 +86,7 @@ static NO_COPY wincaps wincap_95 = { has_64bit_file_access:false, has_process_io_counters:false, supports_reading_modem_output_lines:false, + needs_memory_protection:false }; static NO_COPY wincaps wincap_95osr2 = { @@ -123,6 +125,7 @@ static NO_COPY wincaps wincap_95osr2 = { has_64bit_file_access:false, has_process_io_counters:false, supports_reading_modem_output_lines:false, + needs_memory_protection:false }; static NO_COPY wincaps wincap_98 = { @@ -161,6 +164,7 @@ static NO_COPY wincaps wincap_98 = { has_64bit_file_access:false, has_process_io_counters:false, supports_reading_modem_output_lines:false, + needs_memory_protection:false }; static NO_COPY wincaps wincap_98se = { @@ -199,6 +203,7 @@ static NO_COPY wincaps wincap_98se = { has_64bit_file_access:false, has_process_io_counters:false, supports_reading_modem_output_lines:false, + needs_memory_protection:false }; static NO_COPY wincaps wincap_me = { @@ -237,6 +242,7 @@ static NO_COPY wincaps wincap_me = { has_64bit_file_access:false, has_process_io_counters:false, supports_reading_modem_output_lines:false, + needs_memory_protection:false }; static NO_COPY wincaps wincap_nt3 = { @@ -275,6 +281,7 @@ static NO_COPY wincaps wincap_nt3 = { has_64bit_file_access:true, has_process_io_counters:false, supports_reading_modem_output_lines:true, + needs_memory_protection:true }; static NO_COPY wincaps wincap_nt4 = { @@ -313,6 +320,7 @@ static NO_COPY wincaps wincap_nt4 = { has_64bit_file_access:true, has_process_io_counters:false, supports_reading_modem_output_lines:true, + needs_memory_protection:true }; static NO_COPY wincaps wincap_nt4sp4 = { @@ -351,6 +359,7 @@ static NO_COPY wincaps wincap_nt4sp4 = { has_64bit_file_access:true, has_process_io_counters:false, supports_reading_modem_output_lines:true, + needs_memory_protection:true }; static NO_COPY wincaps wincap_2000 = { @@ -389,6 +398,7 @@ static NO_COPY wincaps wincap_2000 = { has_64bit_file_access:true, has_process_io_counters:true, supports_reading_modem_output_lines:true, + needs_memory_protection:true }; static NO_COPY wincaps wincap_xp = { @@ -427,6 +437,7 @@ static NO_COPY wincaps wincap_xp = { has_64bit_file_access:true, has_process_io_counters:true, supports_reading_modem_output_lines:true, + needs_memory_protection:true }; wincapc wincap; |