Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2003-02-20 18:58:55 +0300
committerCorinna Vinschen <corinna@vinschen.de>2003-02-20 18:58:55 +0300
commit892d89627472a912e60a66d1b3e363de5d5ac3ab (patch)
tree3440890e9d9f40a627c8ceb5a9a5c2c0559769fd
parentea192e195df8d42a7134968afbd077270db88b0a (diff)
* wincap.h (wincap): Remove unnecessary definition of
supports_sparse_files. * wincap.cc: Ditto.
-rw-r--r--winsup/cygwin/ChangeLog6
-rw-r--r--winsup/cygwin/wincap.cc33
-rw-r--r--winsup/cygwin/wincap.h2
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,5 +1,11 @@
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>
+
* fhandler_disk_file.cc (fhandler_disk_file::opendir): Check descriptor
created by cygheap_fdnew constructor.
* fhandler_virtual.cc (fhandler_virtual::opendir): Ditto.
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
};