[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kmail-devel
Subject:    Re: kmail under Solaris and Linux
From:       "Olaf J. Schumann" <o.j.schumann () web ! de>
Date:       2002-01-31 14:49:03
[Download RAW message or body]

> The only way I see to solve this well is to introduce a compatibility mode
> that doesn't use any index files at all and therefore has lower performance
> but works. This should finally also make the mutt users happy, that

Why not byte-swaping the index-files to (say) little-endian (= IMHO 
network-byte-order). If you complain about speed: each ip-packet has to be 
byte swaped on i386. If you read the index-files into memory, then you have 
to swap them once, you read them. If you mmap them (sorry, I'm to lazy to use 
the source :-) then it would be harder.

Or: second approach: have an header witch ensures, that the index-file has 
the right endianess and perhaps the size of the datastructures (32 vs. 64 bit 
etc.) are ok. If not: erase the index-file and rebuild it. (has to be done 
with each switch Linux/Solaris

mfg.
  Olaf J. Schumann
_______________________________________________
kmail Developers mailing list
kmail@mail.kde.org
http://mail.kde.org/mailman/listinfo/kmail
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic