diff options
author | bde <bde@FreeBSD.org> | 1999-10-09 11:31:50 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1999-10-09 11:31:50 +0000 |
commit | 977cb3153eec3286210df53421e8494748c21d3a (patch) | |
tree | 7a013c2c68428e1551db8904c025d0cad3163793 /crypto/libdes | |
parent | 452a78e08bd2d4537c503dbd1663ea0fd9667241 (diff) | |
download | FreeBSD-src-977cb3153eec3286210df53421e8494748c21d3a.zip FreeBSD-src-977cb3153eec3286210df53421e8494748c21d3a.tar.gz |
Hard-configure z_off_t as long. Soft configuration using HAVE_UNISTD_H
just breaks the prototypes for gzseek() and gztell() when an application
defines HAVE_UNISTD_H before including <zlib.h>. z_off_t was always
long for compiling zlib, but was sometimes off_t for compiling
applications, e.g., Ethereal 0.7.5.
This "fix" preserves bug for bug binary compatibility. z_off_t should
be off_t for everything, but zlib doesn't support off_t being longer
than long, so using the correct type without fixing zlib's internals
would at best break binary compatibility. This "fix" also make the
namespace problems for HAVE_UNISTD_H no worse than hundreds of other
namespace prooblems in zconf.h. I'll wait for a new release of zlib
for proper fixes.
Reported by: Guy Harris via jkh
Diffstat (limited to 'crypto/libdes')
0 files changed, 0 insertions, 0 deletions