Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • For example, your module is also failing its tests on PPC linux, so I'd suspect that it's an endian-ness bug somewhere (your code, or the included library), as both sparc and PPC are big endian.

    Seems more and more reasonable to me to suspect byte order. Just browsed through mplib and did in fact find a lot of bitshift operations in mp_get_id3v2_tag (the id3v2-reading was the stuff that failed in the tests) but not in the corresponding mp_get_id3v1_tag.

    If these are in fact the offending parts, a few preprocessor directives could already be enough to differentiate between big and little endianness.

    The mplib docs don't say much abou that. They only mention mplib being "cross-platform capable" which is probably a broad term. Fortunately the library comes with its own testsuite which is the first thing I will try when I finally have the access to the compile-farm.