Re: [PATCH] Bug 154549 =?windows-1251?Q?=96?= Use autorun.inf icon for cdroms
- From: Olaf Frączyk <olaf cbk poznan pl>
- To: John Millikin <jmillikin gmail com>
- Cc: nautilus-list gnome org
- Subject: Re: [PATCH] Bug 154549 – Use autorun.inf icon for cdroms
- Date: Wed, 23 Jan 2008 10:35:47 +0100
On Fri, 2008-01-18 at 08:54 -0800, John Millikin wrote:
> 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").
Aren't most Windows CD-ROMs case-preserving but case-insensitive?
You could look at the samba code as it uses native filesystem - which is
case-sensitive and presents it as case-insensitive to windows clients.
Regards,
Olaf
--
Olaf Frączyk <olaf cbk poznan pl>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]