I'm afraid you have wandered out beyond the point where I can provide any assistance.
Here's something for you to think about. Go here: <http://www.sleepycat.com/docs/ref/upgrade.4.0/toc.html>. That page is a summary of the changes that must be made to an application written for Berkeley db 3.3 in order for it to function properly with Berkeley db 4.0. You should come away with the realization that your chances of squidGuard 1.2 "accidentally" working properly with db 4.0 are zero. If you find that you can't dig out of the hole that you are in, I'd suggest that you remove squidGuard and both versions of the Berkeley db, and start over with squidGuard 1.2 and Berkeley 3.3. Those versions work well together, and generally come up without problems. Rick -----Original Message----- From: Li Kin Chung [mailto:[EMAIL PROTECTED]] Sent: Sunday, February 17, 2002 10:52 AM To: [EMAIL PROTECTED] Cc: Rick Matthews Subject: Re:Error Encounter on urls.db update Error On update urls.db from urls.diff error cause by file handle malloc buffer size not enough. ^_^ how to dynamic this buffer size? default + 5, I increase this number, bugs is fixed. but why does domains.db can update but urls.db cannot?? partial source code from sgDb.c if(globalUpdate){ if(dbfile == NULL){ sgLogError("error update dbfile %s.db. file does not exists, use -C to c reate",file); } else { *** update = (char *) sgMalloc(strlen(file) + 5); update = (char *) sgMalloc(strlen(file) + 10);
