[7946] in SIPB bug reports
Re: bug in and fix for webster server
daemon@ATHENA.MIT.EDU (Jonathon Weiss)
Wed Feb 27 01:58:33 2002
Date: Wed, 27 Feb 2002 01:54:13 -0500 (EST)
Message-Id: <200202270654.BAA10201@bearing-an-hourglass.mit.edu>
To: Daniel Pouzzner <douzzer@mega.nu>
CC: bug-sipb@MIT.EDU
In-reply-to: "[7945] in SIPB bug reports"
From: Jonathon Weiss <jweiss@MIT.EDU>
> /afs/sipb/project/sipb/src/webster/src/server/search.c has
> a bug in it at line 124. the byte order of i_file and i_filepos
> must be corrected with a call to ntohs() and ntohl() respectively
> or the server implodes under little endian machines (i386, in
> my case). works fine with the fix.
Hi,
Thanks for the report.
The traditional solution, at least in our case has been to rebuild the
db files (run makeindex) on a machine of the same endian-ness, as the
one that will run the server.
--
Jonathon