Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: dbm_store() returns -1, but no specific error is reported




On Nov 28, 2007, at 6:05 PM, Anton Rang wrote:

This looks like pretty old DBM code. I'm not sure I'd rely on it for larger
databases. You could probably use the btree instead of hash code (using the
dbopen interface) and at least get a larger file. But I'd still wonder if
Apple's shipping a more up-to-date database somewhere....

Got it in one. This is VERY old DBM code with known flaws like this. Unfortunately, later DBM code has the sleepy cat "conditional license" which prohibits us from using it for lots of reasons I won't go into here, so that's the only DBM code available. There's always sqlite3...


- Jordan



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-dev/email@hidden

This email sent to email@hidden
References: 
 >dbm_store() returns -1, but no specific error is reported (From: "Christian Moen" <email@hidden>)
 >Re: dbm_store() returns -1, but no specific error is reported (From: Anton Rang <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.