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 137942 - win32 implementation of GtkFileChooser:get_info and pseudo roots
win32 implementation of GtkFileChooser:get_info and pseudo roots
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:44 UTC by J. Ali Harlow
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Potential fix (848 bytes, patch)
2004-03-22 15:45 UTC, J. Ali Harlow
none Details | Review

Description J. Ali Harlow 2004-03-22 15:44:47 UTC
The current win32 implementation of GtkFileSystem treats bare drive
designators (eg., "c:") as baing a root even though this actually
designates the current directory on that drive.
The attached fix allows :get_info to cope with bare drives. It might be
better to fix filename_is_root() to return FALSE instead.
Comment 1 J. Ali Harlow 2004-03-22 15:45:15 UTC
Created attachment 25880 [details] [review]
Potential fix
Comment 2 J. Ali Harlow 2004-03-24 17:48:15 UTC
2004-03-24  J. Ali Harlow  <ali@juiblex.co.uk>

        * gtk/gtkfilesystemwin32.c
        (filename_is_root): Bare drive designators (eg., "c:") are
        no longer considered as root filenames.  Fixed #137942