SOURCES: banshee-spurious_trailing_comma.patch (NEW) - fix from BG...
deejay1
deejay1 at pld-linux.org
Mon Jul 2 16:02:15 CEST 2007
Author: deejay1 Date: Mon Jul 2 14:02:15 2007 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- fix from BGO #410116
---- Files affected:
SOURCES:
banshee-spurious_trailing_comma.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/banshee-spurious_trailing_comma.patch
diff -u /dev/null SOURCES/banshee-spurious_trailing_comma.patch:1.1
--- /dev/null Mon Jul 2 16:02:15 2007
+++ SOURCES/banshee-spurious_trailing_comma.patch Mon Jul 2 16:02:10 2007
@@ -0,0 +1,14 @@
+--- banshee-0.12.1/ext/taglib-sharp/TagLib/Id3v2/Frames/TextIdentificationFrame.cs-0.12.1 2007-04-01 00:14:59.000000000 +0200
++++ banshee-0.12.1/ext/taglib-sharp/TagLib/Id3v2/Frames/TextIdentificationFrame.cs 2007-04-12 01:06:06.000000000 +0200
+@@ -117,6 +117,11 @@
+ field_list = new StringList ();
+ text_encoding = StringType.UTF8;
+ ParseFields (FieldData (data, offset));
++
++ // If not inherited (NOT TXXX), remove trailing strings if empty. (Workaround for defective nul terminated tags.)
++ if (GetType () == typeof (TextIdentificationFrame))
++ while (field_list.Count != 0 && field_list [field_list.Count - 1] == String.Empty)
++ field_list.RemoveAt (field_list.Count - 1);
+ }
+ }
+
================================================================
More information about the pld-cvs-commit
mailing list