From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kay Sievers Date: Fri, 25 May 2007 02:26:42 +0000 Subject: Re: support for vfat long filenames Message-Id: <1180060002.17533.11.camel@lov.localdomain> List-Id: References: <1179900959.20773.3.camel@moonpix.desrt.ca> In-Reply-To: <1179900959.20773.3.camel@moonpix.desrt.ca> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Thu, 2007-05-24 at 22:15 -0400, Ryan Lortie wrote: > On Fri, 2007-25-05 at 04:04 +0200, Kay Sievers wrote: > > Ah nice. Unfortunately, seems it doesn't handle UTF8 correctly. It > > encodes all multibyte chars to individual 16bit values and writes these > > to the disk. > One day, this bug will be closed...... > > http://bugs.freedesktop.org/show_bug.cgi?id363 Yes, that will be nice. > > I tried it, both Windows XP and MacOS can't read or set the long > > labels. :) > Ah well. No reason for us to be limited. :) Yeah, that's what I thought too. :) > > I've committed it with a few small changes. We better don't use > > statically allocated strings, it may cause problems in threaded apps. > > Please check, if it still works for you. :) > Eep. Sorry about this. It didn't occur to me that applications outside > of vol_id might use this library (which is a silly assumption, of > course). > > Can you please send me the patch as you committed it so I can test it > out? It's in the udev git tree: http://git.kernel.org/?p=linux/hotplug/udev.git;a=commitdiff;h35b8aace33a2018c947381d32c33bcebe6cbe37 You can clone the whole tree, or just download the patch (and the commit before your patch). Thanks, Kay ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel