From b7124b938c0457acb324f4f7e0a3067bbbc05c94 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Sun, 23 Jan 2005 00:09:00 +0000 Subject: Don't call GetVolumeInformation() for network drives. They might be 2005-01-23 Tor Lillqvist * gtk/gtkfilesystemwin32.c (gtk_file_system_win32_volume_get_display_name): Don't call GetVolumeInformation() for network drives. They might be disconnected, and calling GetVolumeInformation() will then cause long delays. (#164448) It seems to be very hard to reliably find out whether a network drive is connected or not, so it's easier to just not try getting the volume name for them. See the bug report for discussion. --- ChangeLog | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index a961696c5..1d52a350c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,13 @@ +2005-01-23 Tor Lillqvist + + * gtk/gtkfilesystemwin32.c (gtk_file_system_win32_volume_get_display_name): + Don't call GetVolumeInformation() for network drives. They might + be disconnected, and calling GetVolumeInformation() will then + cause long delays. (#164448) It seems to be very hard to reliably + find out whether a network drive is connected or not, so it's + easier to just not try getting the volume name for them. See the + bug report for discussion. + 2005-01-20 Matthias Clasen * gtk/gtkdialog.c (gtk_dialog_map): Don't loop forever -- cgit v1.2.1