A curious situation

Tsuda Kageyu tsuda.kageyu at gmail.com
Tue Oct 21 00:26:25 UTC 2014


Hi Geoffrey,

I guess it is by chance.
ID3v2::FrameList stores ID3v2::Frame * and sortedInsert() compares the
pointers, not the content of the frames. So I think that the order can
be affected by a lot of subtle factors.

Cheers,
Kageyu

2014-10-21 8:20 GMT+09:00 Geoffrey Leach <geoff at hughes.net>:
> I maintain the CPAN distribution Audio::TagLib, which is the Perl binding to TagLib. In this case the TagLib version is 1.9.1.
>
> The problem is with Audio::TagLib::ID3v2::FrameList->sortedInsert().
>
> With the list in question containing one item, "TIT2 title", a sortedInsert of "TPE1 artist" results in:
>
> TIT2 title
> TPE1 artist
>
> on Perl versions less than 18, while on Perl versions 18 and above, the result is:
>
> TPE1 artist
> TIT2 title
>
> What I'm looking for here is to here if anyone has observed a similar anomaly outside of the Perl environment. That would help direct my investigations.
>
> Thanks.
> _______________________________________________
> taglib-devel mailing list
> taglib-devel at kde.org
> https://mail.kde.org/mailman/listinfo/taglib-devel


More information about the taglib-devel mailing list