aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap/file_wrappers.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2010-03-25 19:45:29 +0000
committerGuy Harris <guy@alum.mit.edu>2010-03-25 19:45:29 +0000
commit2101397e4042ee9fe166d731ddae40a146df9d6c (patch)
tree600e62829fcf8497ae5671b76a88842e48da05b3 /wiretap/file_wrappers.c
parent613d74ef8ce216267224d990356b0a9904b68698 (diff)
Update a comment to discuss how zlib and z_off_t has gotten messier lately.
svn path=/trunk/; revision=32280
Diffstat (limited to 'wiretap/file_wrappers.c')
-rw-r--r--wiretap/file_wrappers.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/wiretap/file_wrappers.c b/wiretap/file_wrappers.c
index 9692251624..ccd8209532 100644
--- a/wiretap/file_wrappers.c
+++ b/wiretap/file_wrappers.c
@@ -94,6 +94,14 @@
* "wtap-int.h", put "file_error()" into a file by itself, which can
* cheerfully include "wtap.h" and get "gzseek()" misdeclared, and include
* just "zlib.h" in this file - *after* undefining HAVE_UNISTD_H.
+ *
+ * XXX - this is not working with zlib 1.2.4 and, at least on some non-
+ * 4.4-Lite-derived systems (such as some Linux distributions), with
+ * some earlier versions of zlib. Perhaps the configure script should
+ * check whether off_t is long or not and, if it is, just trust zlib
+ * to work without this mess. That won't help with zlib 1.2.4, as
+ * if you build and install that on OS X, which *is* 4.4-Lite-derived,
+ * it still doesn't work right.
*/
#ifdef __OpenBSD__
#ifndef HAVE_UNISTD_H