What about using Berkeley's db_dump and db_load Program? Would this be an
option for 3.1.5?

Tnx

  Stefan

-----Ursprüngliche Nachricht-----
Von: Geoff Hutchison [mailto:[EMAIL PROTECTED]]
Gesendet: Mittwoch, 14. März 2001 17:36
An: Reich, Stefan
Cc: [EMAIL PROTECTED]
Betreff: Re: [htdig] Portable Database Files?


On Wed, 14 Mar 2001, Reich, Stefan wrote:

> should it work to move a ready built htdig 3.1.5 database from a sun
machine
> to a linux machine?
> I just moved the files db.*.

No. Even ignoring bigendian/littleendian issues, there are padding issues
(the size of integers, etc) and other OS/CPU related issues.

The htdump/htload programs in the 3.2 code can transfer the databases to a
text file for such purposes and is a much more reliable way of doing this.

> On the linux machine, each search returns no result. If the database is
> corrupt from the linux point of view, there should be a more specific
error,
> should'nt it?

I think this is about the most graceful way of handling things. The
database doesn't give much information to the application if the data is
screwed, it just returns NULLs.

--
-Geoff Hutchison
Williams Students Online
http://wso.williams.edu/

_______________________________________________
htdig-general mailing list <[EMAIL PROTECTED]>
To unsubscribe, send a message to <[EMAIL PROTECTED]> with a 
subject of unsubscribe
FAQ: http://htdig.sourceforge.net/FAQ.html

Reply via email to