hal ChangeLog,1.896,1.897

David Zeuthen david at kemper.freedesktop.org
Fri May 12 08:17:07 PDT 2006


Update of /cvs/hal/hal
In directory kemper:/tmp/cvs-serv16407

Modified Files:
	ChangeLog 
Log Message:
2006-05-12  David Zeuthen  <davidz at redhat.com>

        * hald/linux2/probing/probe-volume.c (strdup_valid_utf8): In
        Ubuntu we got several bug reports about device label gibberish,
        for example: https://launchpad.net/bugs/27897. This happens if the
        label is either truly bogus, or in a non-UTF-8 compatible
        encoding. The blunt solution would be to just ignore any non-UTF-8
        labels, but since it might be preferable to retain labels which
        are only 'lightly' damaged (maybe one Umlaut in an otherwise valid
        string), I wrote a small patch to ignore invalid labels if they
        contain more than 20% illegal characters. Patch from Martin Pitt
        <martin at piware.de>.



Index: ChangeLog
===================================================================
RCS file: /cvs/hal/hal/ChangeLog,v
retrieving revision 1.896
retrieving revision 1.897
diff -u -d -r1.896 -r1.897
--- ChangeLog	12 May 2006 14:34:28 -0000	1.896
+++ ChangeLog	12 May 2006 15:17:04 -0000	1.897
@@ -1,3 +1,16 @@
+2006-05-12  David Zeuthen  <davidz at redhat.com>
+
+	* hald/linux2/probing/probe-volume.c (strdup_valid_utf8): In
+	Ubuntu we got several bug reports about device label gibberish,
+	for example: https://launchpad.net/bugs/27897. This happens if the
+	label is either truly bogus, or in a non-UTF-8 compatible
+	encoding. The blunt solution would be to just ignore any non-UTF-8
+	labels, but since it might be preferable to retain labels which
+	are only 'lightly' damaged (maybe one Umlaut in an otherwise valid
+	string), I wrote a small patch to ignore invalid labels if they
+	contain more than 20% illegal characters. Patch from Martin Pitt
+	<martin at piware.de>.
+
 2006-05-12  Danny Kukawka  <danny.kukawka at web.de>
 
 	cleanup: s/;;/;/




More information about the hal-commit mailing list