Stories
Slash Boxes
Comments
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

use Perl Log In

Log In

[ Create a new account ]

ethan (3163)

ethan
  reversethis-{ed. ... rap.nov.olissat}

Being a 25-year old chap living in the western-most town of Germany. Stuying communication and information science and being a huge fan of XS-related things.

Journal of ethan (3163)

Saturday January 11, 2003
02:40 AM

Endianness

[ #9898 ]

Ok, so I was bitten by byteorder again. :-(

As it turned out (and was confirmed by its developers), libdbx only supports
little-endian byteorder:

        >Comment By: Dave Smith (davesmith)
        Date: 2003-01-10 08:25

        Message:
        Logged In: YES
        user_id=7587

        There is no endian support in libDBX. none at all. I have
        put endian support into libPST, so you can copy the macros
        from there if you wish to do so. The fact is the dbx file
        stores everything in little endian, so a big endian machine
        must convert all 2 byte, or 4 byte numbers that it reads.

So I can "copy the macros from there". I llllllllllllllove it! As it turns out, I am slowly but steadily progressing with teaching libdbx big-endianness. The occasional C hacker will confirm that this is tedious and non-rewarding work. I'll swear: Next time I'll tackle a C lib for XS I'll be checking endianness before!

But I also have some good news: I had a talk with Mark Overmeer on the namespace of Mail::OutlookX (brian d foy suggested that) and we quickly agreed on Mail::Transport::Dbx. Thus it can easily be integrated into Mail::Box and this is what Mark will actually do after the release (which would have already been done hadn't this endian thing turned up....sigh).

We also agreed on meeting on this March's Perl workshop to be held in Sankt Augistin just close by where I'm living (Aachen, or as the francophones prefer, Aix-la-Chapelle) and also share a hotel room. There'll be a number of interesting talks...one by Nicholas Clark on performance tuning under Perl. It'll be a tutorial and I am really looking forward to hearing him.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.