* wincap.h (wincap): Remove unnecessary definition of

supports_sparse_files.
	* wincap.cc: Ditto.
This commit is contained in:
Corinna Vinschen 2003-02-20 15:58:55 +00:00
parent ea192e195d
commit 892d896274
3 changed files with 17 additions and 24 deletions

View File

@ -1,3 +1,9 @@
2003-02-20 Corinna Vinschen <corinna@vinschen.de>
* wincap.h (wincap): Remove unnecessary definition of
supports_sparse_files.
* wincap.cc: Ditto.
2003-02-20 Corinna Vinschen <corinna@vinschen.de> 2003-02-20 Corinna Vinschen <corinna@vinschen.de>
* fhandler_disk_file.cc (fhandler_disk_file::opendir): Check descriptor * fhandler_disk_file.cc (fhandler_disk_file::opendir): Check descriptor

View File

@ -47,8 +47,7 @@ static NO_COPY wincaps wincap_unknown = {
has_64bit_file_access:false, has_64bit_file_access:false,
has_process_io_counters:false, has_process_io_counters:false,
supports_reading_modem_output_lines:false, supports_reading_modem_output_lines:false,
needs_memory_protection:false, needs_memory_protection:false
supports_sparse_files:false
}; };
static NO_COPY wincaps wincap_95 = { static NO_COPY wincaps wincap_95 = {
@ -87,8 +86,7 @@ static NO_COPY wincaps wincap_95 = {
has_64bit_file_access:false, has_64bit_file_access:false,
has_process_io_counters:false, has_process_io_counters:false,
supports_reading_modem_output_lines:false, supports_reading_modem_output_lines:false,
needs_memory_protection:false, needs_memory_protection:false
supports_sparse_files:false
}; };
static NO_COPY wincaps wincap_95osr2 = { static NO_COPY wincaps wincap_95osr2 = {
@ -127,8 +125,7 @@ static NO_COPY wincaps wincap_95osr2 = {
has_64bit_file_access:false, has_64bit_file_access:false,
has_process_io_counters:false, has_process_io_counters:false,
supports_reading_modem_output_lines:false, supports_reading_modem_output_lines:false,
needs_memory_protection:false, needs_memory_protection:false
supports_sparse_files:false
}; };
static NO_COPY wincaps wincap_98 = { static NO_COPY wincaps wincap_98 = {
@ -167,8 +164,7 @@ static NO_COPY wincaps wincap_98 = {
has_64bit_file_access:false, has_64bit_file_access:false,
has_process_io_counters:false, has_process_io_counters:false,
supports_reading_modem_output_lines:false, supports_reading_modem_output_lines:false,
needs_memory_protection:false, needs_memory_protection:false
supports_sparse_files:false
}; };
static NO_COPY wincaps wincap_98se = { static NO_COPY wincaps wincap_98se = {
@ -207,8 +203,7 @@ static NO_COPY wincaps wincap_98se = {
has_64bit_file_access:false, has_64bit_file_access:false,
has_process_io_counters:false, has_process_io_counters:false,
supports_reading_modem_output_lines:false, supports_reading_modem_output_lines:false,
needs_memory_protection:false, needs_memory_protection:false
supports_sparse_files:false
}; };
static NO_COPY wincaps wincap_me = { static NO_COPY wincaps wincap_me = {
@ -247,8 +242,7 @@ static NO_COPY wincaps wincap_me = {
has_64bit_file_access:false, has_64bit_file_access:false,
has_process_io_counters:false, has_process_io_counters:false,
supports_reading_modem_output_lines:false, supports_reading_modem_output_lines:false,
needs_memory_protection:false, needs_memory_protection:false
supports_sparse_files:false
}; };
static NO_COPY wincaps wincap_nt3 = { static NO_COPY wincaps wincap_nt3 = {
@ -287,8 +281,7 @@ static NO_COPY wincaps wincap_nt3 = {
has_64bit_file_access:true, has_64bit_file_access:true,
has_process_io_counters:false, has_process_io_counters:false,
supports_reading_modem_output_lines:true, supports_reading_modem_output_lines:true,
needs_memory_protection:true, needs_memory_protection:true
supports_sparse_files:false
}; };
static NO_COPY wincaps wincap_nt4 = { static NO_COPY wincaps wincap_nt4 = {
@ -327,8 +320,7 @@ static NO_COPY wincaps wincap_nt4 = {
has_64bit_file_access:true, has_64bit_file_access:true,
has_process_io_counters:false, has_process_io_counters:false,
supports_reading_modem_output_lines:true, supports_reading_modem_output_lines:true,
needs_memory_protection:true, needs_memory_protection:true
supports_sparse_files:false
}; };
static NO_COPY wincaps wincap_nt4sp4 = { static NO_COPY wincaps wincap_nt4sp4 = {
@ -367,8 +359,7 @@ static NO_COPY wincaps wincap_nt4sp4 = {
has_64bit_file_access:true, has_64bit_file_access:true,
has_process_io_counters:false, has_process_io_counters:false,
supports_reading_modem_output_lines:true, supports_reading_modem_output_lines:true,
needs_memory_protection:true, needs_memory_protection:true
supports_sparse_files:false
}; };
static NO_COPY wincaps wincap_2000 = { static NO_COPY wincaps wincap_2000 = {
@ -407,8 +398,7 @@ static NO_COPY wincaps wincap_2000 = {
has_64bit_file_access:true, has_64bit_file_access:true,
has_process_io_counters:true, has_process_io_counters:true,
supports_reading_modem_output_lines:true, supports_reading_modem_output_lines:true,
needs_memory_protection:true, needs_memory_protection:true
supports_sparse_files:true
}; };
static NO_COPY wincaps wincap_xp = { static NO_COPY wincaps wincap_xp = {
@ -447,8 +437,7 @@ static NO_COPY wincaps wincap_xp = {
has_64bit_file_access:true, has_64bit_file_access:true,
has_process_io_counters:true, has_process_io_counters:true,
supports_reading_modem_output_lines:true, supports_reading_modem_output_lines:true,
needs_memory_protection:true, needs_memory_protection:true
supports_sparse_files:true
}; };
wincapc wincap; wincapc wincap;

View File

@ -49,7 +49,6 @@ struct wincaps
unsigned has_process_io_counters : 1; unsigned has_process_io_counters : 1;
unsigned supports_reading_modem_output_lines : 1; unsigned supports_reading_modem_output_lines : 1;
unsigned needs_memory_protection : 1; unsigned needs_memory_protection : 1;
unsigned supports_sparse_files : 1;
}; };
class wincapc class wincapc
@ -103,7 +102,6 @@ public:
bool IMPLEMENT (has_process_io_counters) bool IMPLEMENT (has_process_io_counters)
bool IMPLEMENT (supports_reading_modem_output_lines) bool IMPLEMENT (supports_reading_modem_output_lines)
bool IMPLEMENT (needs_memory_protection) bool IMPLEMENT (needs_memory_protection)
bool IMPLEMENT (supports_sparse_files)
#undef IMPLEMENT #undef IMPLEMENT
}; };