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>2005-02-20 16:28:23 +0300
committerCorinna Vinschen <corinna@vinschen.de>2005-02-20 16:28:23 +0300
commit4944ca2f090de13e5afbde071def7449b25dcfd5 (patch)
tree3b5bb55b18a0b6ae32a6cfa4e797be9fbaf0ff97 /winsup/cygwin/wincap.cc
parent2b09be25a3929c8c6d7e23e1abb4756187c5036b (diff)
* autoload.cc (FindFirstVolumeA): Add.
(FindNextVolumeA): Add. (FindVolumeClose): Add. (GetVolumePathNamesForVolumeNameA): Add. * fhandler.h (class fhandler_base): Declare new method fsync. * fhandler.cc (fhandler_base::fsync): New method. * syscalls.cc (fsync): Move functionality into fhandler method fsync. Just call this method from here. (sync_worker): New static function. (sync): Fill with life for NT systems. * wincap.h (wincaps::has_guid_volumes): New element. * wincap.cc: Implement above element throughout.
Diffstat (limited to 'winsup/cygwin/wincap.cc')
-rw-r--r--winsup/cygwin/wincap.cc36
1 files changed, 24 insertions, 12 deletions
diff --git a/winsup/cygwin/wincap.cc b/winsup/cygwin/wincap.cc
index 54badc456..4011b5dec 100644
--- a/winsup/cygwin/wincap.cc
+++ b/winsup/cygwin/wincap.cc
@@ -55,7 +55,8 @@ static NO_COPY wincaps wincap_unknown = {
cant_debug_dll_entry:false,
has_ioctl_storage_get_media_types_ex:false,
start_proc_suspended:true,
- has_extended_priority_class:false
+ has_extended_priority_class:false,
+ has_guid_volumes:false
};
static NO_COPY wincaps wincap_95 = {
@@ -102,7 +103,8 @@ static NO_COPY wincaps wincap_95 = {
cant_debug_dll_entry:true,
has_ioctl_storage_get_media_types_ex:false,
start_proc_suspended:true,
- has_extended_priority_class:false
+ has_extended_priority_class:false,
+ has_guid_volumes:false
};
static NO_COPY wincaps wincap_95osr2 = {
@@ -149,7 +151,8 @@ static NO_COPY wincaps wincap_95osr2 = {
cant_debug_dll_entry:true,
has_ioctl_storage_get_media_types_ex:false,
start_proc_suspended:true,
- has_extended_priority_class:false
+ has_extended_priority_class:false,
+ has_guid_volumes:false
};
static NO_COPY wincaps wincap_98 = {
@@ -196,7 +199,8 @@ static NO_COPY wincaps wincap_98 = {
cant_debug_dll_entry:true,
has_ioctl_storage_get_media_types_ex:false,
start_proc_suspended:true,
- has_extended_priority_class:false
+ has_extended_priority_class:false,
+ has_guid_volumes:false
};
static NO_COPY wincaps wincap_98se = {
@@ -243,7 +247,8 @@ static NO_COPY wincaps wincap_98se = {
cant_debug_dll_entry:true,
has_ioctl_storage_get_media_types_ex:false,
start_proc_suspended:true,
- has_extended_priority_class:false
+ has_extended_priority_class:false,
+ has_guid_volumes:false
};
static NO_COPY wincaps wincap_me = {
@@ -290,7 +295,8 @@ static NO_COPY wincaps wincap_me = {
cant_debug_dll_entry:true,
has_ioctl_storage_get_media_types_ex:false,
start_proc_suspended:true,
- has_extended_priority_class:false
+ has_extended_priority_class:false,
+ has_guid_volumes:false
};
static NO_COPY wincaps wincap_nt3 = {
@@ -337,7 +343,8 @@ static NO_COPY wincaps wincap_nt3 = {
cant_debug_dll_entry:false,
has_ioctl_storage_get_media_types_ex:false,
start_proc_suspended:false,
- has_extended_priority_class:false
+ has_extended_priority_class:false,
+ has_guid_volumes:false
};
static NO_COPY wincaps wincap_nt4 = {
@@ -384,7 +391,8 @@ static NO_COPY wincaps wincap_nt4 = {
cant_debug_dll_entry:false,
has_ioctl_storage_get_media_types_ex:false,
start_proc_suspended:false,
- has_extended_priority_class:false
+ has_extended_priority_class:false,
+ has_guid_volumes:false
};
static NO_COPY wincaps wincap_nt4sp4 = {
@@ -431,7 +439,8 @@ static NO_COPY wincaps wincap_nt4sp4 = {
cant_debug_dll_entry:false,
has_ioctl_storage_get_media_types_ex:false,
start_proc_suspended:false,
- has_extended_priority_class:false
+ has_extended_priority_class:false,
+ has_guid_volumes:false
};
static NO_COPY wincaps wincap_2000 = {
@@ -478,7 +487,8 @@ static NO_COPY wincaps wincap_2000 = {
cant_debug_dll_entry:false,
has_ioctl_storage_get_media_types_ex:false,
start_proc_suspended:false,
- has_extended_priority_class:true
+ has_extended_priority_class:true,
+ has_guid_volumes:true
};
static NO_COPY wincaps wincap_xp = {
@@ -525,7 +535,8 @@ static NO_COPY wincaps wincap_xp = {
cant_debug_dll_entry:false,
has_ioctl_storage_get_media_types_ex:true,
start_proc_suspended:false,
- has_extended_priority_class:true
+ has_extended_priority_class:true,
+ has_guid_volumes:true
};
static NO_COPY wincaps wincap_2003 = {
@@ -572,7 +583,8 @@ static NO_COPY wincaps wincap_2003 = {
cant_debug_dll_entry:false,
has_ioctl_storage_get_media_types_ex:true,
start_proc_suspended:false,
- has_extended_priority_class:true
+ has_extended_priority_class:true,
+ has_guid_volumes:true
};
wincapc wincap;