* apt-pkg/contrib/fileutl.h:
authorDavid Kalnischkies <kalnischkies@gmail.com>
Tue, 17 Jan 2012 23:51:03 +0000 (00:51 +0100)
committerDavid Kalnischkies <kalnischkies@gmail.com>
Tue, 17 Jan 2012 23:51:03 +0000 (00:51 +0100)
commit65c72a4b84273bf8063076bd74861b5931c2b8a5
tree9b1582e8783ce447197cabb67de6819d81a5e9a4
parentb711c01e777977a4f9e2b78d7ab91f09f3fdf03f
* apt-pkg/contrib/fileutl.h:
  - store the offset in the internal fd before calculate size of
    the zlib-handled file to jump back to this place again

It jumped back to the position of the content - which is wrong as
the internal fd is compressed and even reseting to the beginning of
the file doesn't work as zlib uses an internal buffer, so while we
might haven't read anything yet zlib might have done so already…
apt-pkg/contrib/fileutl.cc
debian/changelog