=?UTF-8?Q?[PATCH]_Bug_154549_=E2=80=93_Use_autorun.inf_icon_for_cdroms?=



Many CD-ROMs intended for use in Windows contain autorun.inf files,
describing where an icon can be found for display to the user. I've
written a patch to support this, but as it is my first serious use of
GIO it is likely to be quite buggy in some way. In particular, I'm
unsure about my method for opening file case-insensitively on a
case-sensitive filesystem. It's not possible to merely check for
all-caps and all-lower versions of the filenames, because some CD-ROMs
use mixed case ("Autorun.inf", "AutoRun.inf") or have paths in the
.inf that do not correspond to real filesystem paths (Autorun says
"media/icons/icon.ico", actual path is "Media/Icons/icon.ico").

http://bugzilla.gnome.org/show_bug.cgi?id=154549


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]