From 4944ca2f090de13e5afbde071def7449b25dcfd5 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Sun, 20 Feb 2005 13:28:23 +0000 Subject: * 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. --- winsup/cygwin/wincap.cc | 36 ++++++++++++++++++++++++------------ 1 file changed, 24 insertions(+), 12 deletions(-) (limited to 'winsup/cygwin/wincap.cc') 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; -- cgit v1.2.3