After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 137940 - Filechooser with more than 25 volumes
Filechooser with more than 25 volumes
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Backend: Win32
2.4.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-win32 maintainers
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2004-03-22 15:39 UTC by J. Ali Harlow
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Proposed fix (1.61 KB, patch)
2004-03-22 15:40 UTC, J. Ali Harlow
none Details | Review

Description J. Ali Harlow 2004-03-22 15:39:47 UTC
The win32 implementation of GtkFileSystem falls over if there are more than
25 logical drives in the system. The current implementation could be
trivially fixed to cope with 26 drives but since there is no explicit
mention in the Platform SDK of a hard maximum of 26 drives it seems better
to cope with any number and just ignore drives after Z:
Comment 1 J. Ali Harlow 2004-03-22 15:40:24 UTC
Created attachment 25878 [details] [review]
Proposed fix
Comment 2 J. Ali Harlow 2004-03-22 21:37:58 UTC
2004-03-22  J. Ali Harlow  <ali@juiblex.co.uk>

        * gtk/gtkfilesystemwin32.c
        (list_volumes): Cope with the theoretical possibility of
        more than 26 logical drives. Fixes bug #137940