Re: db / put / i386 / bug in Darwin? [Addendum]
Re: db / put / i386 / bug in Darwin? [Addendum]
- Subject: Re: db / put / i386 / bug in Darwin? [Addendum]
- From: Stephane Sudre <email@hidden>
- Date: Tue, 14 Mar 2006 17:29:10 +0100
On 14 mars 06, at 16:53, Stephane Sudre wrote:
Is there a known bug in Mac OS X (Intel) when it comes to the db APIs
and the put call?
I'm observing corruptions of the data base whenever put is used. The
same code works OK on Mac OS X (PowerPC).
The data base is initially created on a PowerPC machine.
There is no issue when reading the data base on the Intel architecture
and using the seq or get API.
Type of base: DB_HASH
key size: 160 bits.
data size: 160 bits
The data is correctly swapped (and this shall not have any incidence
anyway).
I'm beginning to wonder if there is not a bug on the key size, where
you need to swap it. Which would be really strange IMHO.
If the data base is created blank on the Intel architecture, put is
working fine from what I can see.
So it really looks like a compatibility issue between put and a data
base which has been created on a PowerPC machine.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden