EOF in zlib 1.2.5 seems to be sticky. When we're tailing a file and we
authorgerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7>
Fri, 7 May 2010 19:45:47 +0000 (19:45 +0000)
committergerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7>
Fri, 7 May 2010 19:45:47 +0000 (19:45 +0000)
commit914abfcfb7c4e55a480d2f08bdeab666554fa173
tree74bc4f0143830c45b58eaa1820b8db1466c86bd5
parent3f64e0ecc61039ee8355f2432f60ca784b3f5e9b
EOF in zlib 1.2.5 seems to be sticky. When we're tailing a file and we
reach EOF, zlib's file handle seems to stay at EOF even when more data
is appended to the file. Add a check for 1.2.5 which calls gzseek in
order to unset EOF. Fixes bugs 4708 and 4748.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32715 f5534014-38df-0310-8fa8-9805f1628bb7
wiretap/wtap.c