From 892d89627472a912e60a66d1b3e363de5d5ac3ab Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Thu, 20 Feb 2003 15:58:55 +0000 Subject: [PATCH] * wincap.h (wincap): Remove unnecessary definition of supports_sparse_files. * wincap.cc: Ditto. --- winsup/cygwin/ChangeLog | 6 ++++++ winsup/cygwin/wincap.cc | 33 +++++++++++---------------------- winsup/cygwin/wincap.h | 2 -- 3 files changed, 17 insertions(+), 24 deletions(-) diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index d246e11a9..0dbf74d36 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,9 @@ +2003-02-20 Corinna Vinschen + + * wincap.h (wincap): Remove unnecessary definition of + supports_sparse_files. + * wincap.cc: Ditto. + 2003-02-20 Corinna Vinschen * fhandler_disk_file.cc (fhandler_disk_file::opendir): Check descriptor diff --git a/winsup/cygwin/wincap.cc b/winsup/cygwin/wincap.cc index b5671c558..e70a362da 100644 --- a/winsup/cygwin/wincap.cc +++ b/winsup/cygwin/wincap.cc @@ -47,8 +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, - supports_sparse_files:false + needs_memory_protection:false }; static NO_COPY wincaps wincap_95 = { @@ -87,8 +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, - supports_sparse_files:false + needs_memory_protection:false }; static NO_COPY wincaps wincap_95osr2 = { @@ -127,8 +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, - supports_sparse_files:false + needs_memory_protection:false }; static NO_COPY wincaps wincap_98 = { @@ -167,8 +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, - supports_sparse_files:false + needs_memory_protection:false }; static NO_COPY wincaps wincap_98se = { @@ -207,8 +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, - supports_sparse_files:false + needs_memory_protection:false }; static NO_COPY wincaps wincap_me = { @@ -247,8 +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, - supports_sparse_files:false + needs_memory_protection:false }; static NO_COPY wincaps wincap_nt3 = { @@ -287,8 +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, - supports_sparse_files:false + needs_memory_protection:true }; static NO_COPY wincaps wincap_nt4 = { @@ -327,8 +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, - supports_sparse_files:false + needs_memory_protection:true }; static NO_COPY wincaps wincap_nt4sp4 = { @@ -367,8 +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, - supports_sparse_files:false + needs_memory_protection:true }; static NO_COPY wincaps wincap_2000 = { @@ -407,8 +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, - supports_sparse_files:true + needs_memory_protection:true }; static NO_COPY wincaps wincap_xp = { @@ -447,8 +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, - supports_sparse_files:true + needs_memory_protection:true }; wincapc wincap; diff --git a/winsup/cygwin/wincap.h b/winsup/cygwin/wincap.h index ab3fcff4a..a89f0a5ad 100644 --- a/winsup/cygwin/wincap.h +++ b/winsup/cygwin/wincap.h @@ -49,7 +49,6 @@ struct wincaps unsigned has_process_io_counters : 1; unsigned supports_reading_modem_output_lines : 1; unsigned needs_memory_protection : 1; - unsigned supports_sparse_files : 1; }; class wincapc @@ -103,7 +102,6 @@ public: bool IMPLEMENT (has_process_io_counters) bool IMPLEMENT (supports_reading_modem_output_lines) bool IMPLEMENT (needs_memory_protection) - bool IMPLEMENT (supports_sparse_files) #undef IMPLEMENT };