Ethereal-dev: Re: [Ethereal-dev] 0.8.16 and Solaris

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

Date: Thu, 8 Mar 2001 13:41:52 -0600
On Thu, Mar 08, 2001 at 11:22:37AM -0800, Guy Harris wrote:
> On Thu, Mar 08, 2001 at 05:29:05AM -0600, ethereal-dev@xxxxxxxxxxxxxxxxxx wrote:
> > Ok, we've narrowed down the problem to zlib. We build zlib with LFS.
> 
> Zlib, to use the technical term, often sucks rancid bong water when
> built with 64-bit file offset support in environments with 32-bit file
> offsets.
> 
> See the big comment at the beginning of "wiretap/file_wrappers.c" for
> the explanation, and note that this will screw over *other* programs
> that use "gzseek()" as well.

Yeah, we eventually found the comment.

> You should fix the zlib you distribute so that, *regardless* of whether
> HAVE_UNISTD_H is defined when the program using zlib includes "zlib.h",
> "z_off_t" is defined the *exact same way* it's defined when zlib was
> built.  I complained to the {Free,Net,Open}BSD folk, and they've all
> fixed their zlibs (not in the same fashion, but, at least in
> sufficiently recent versions of that OS, you can safely use "gzseek()"
> regardless of whether your program defines HAVE_UNISTD_H before
> including "zlib.h" or not).

We have fixed our distribution of zlib and are finishing up compiling
of Ethereal now. When that's done, we'll upload a new version of zlib
for our customers.

-- 
albert chin (china@xxxxxxxxxxxxxxxxxx)