[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
ITS#1272
The attached patch may help fix the API changes in Sleepycat db-3.3.
Please forgive me for sending this to the ITS but I could find no other
way of submitting this.
Regards,
Will Deakin
-----------------begin patch------------------------------------
--- libraries/libldbm/ldbm.c.orig Tue Aug 14 14:42:47 2001
+++ libraries/libldbm/ldbm.c Tue Aug 14 14:42:59 2001
@@ -246,7 +246,11 @@
}
ret->set_pagesize( ret, DEFAULT_DB_PAGE_SIZE );
+#if DB_VERSION_MINOR >= 3
+ ret->set_alloc( ret, ldbm_malloc , NULL, NULL);
+#else
ret->set_malloc( ret, ldbm_malloc );
+#endif
err = ret->open( ret, name, NULL, DB_TYPE, rw, mode);
LDBM_UNLOCK;
**********************************************************************
This email and its attachments are intended for the above
named only and may be confidential. If they have come to
you in error, you must take no action based on them, nor
must you copy or show them to anyone; please reply to this
email and highlight the error.
Security Warning: Please note that this email has been
created in the knowledge that the internet email is not a
100% secure communications medium. We advise that you
understand and observe this lack of security when emailing us.
Viruses: Although we have taken steps to ensure that this
email and attachments are free from any virus, we advise
that in keeping with good computing practice the recipient
should ensure they are actually virus free.
If you have received this email in error please notify:
postmaster@pindar.com
**********************************************************************