site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com On 14 mars 06, at 16:53, Stephane Sudre wrote: The data base is initially created on a PowerPC machine. Type of base: DB_HASH key size: 160 bits. data size: 160 bits _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... 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). There is no issue when reading the data base on the Intel architecture and using the seq or get API. 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. This email sent to site_archiver@lists.apple.com