<rwmailli...@googlemail.com> wrote:

The main database file is binary anyway.


Look out for big-endian and little-endian, too. That affects databases. This bit us once when we copied a berkeley db from solaris to linux. Endian-ness is based on the cpu hardware, but apparently Macs and most hardware used for Linux (like Intel) are both little-endian-- so it is probably not the answer in this case.

This is a nice test I found:
echo -n I | od -to2 | awk '{ print substr($2,6,1); exit}'

1 little-endian
0 big-endian

Joseph Brennan
Columbia U



Reply via email to