[Zlib-devel] zlib version 1.2.3.8 available for testing
Arkadiusz Miskiewicz
arekm at maven.pl
Sun Feb 14 14:45:57 EST 2010
On Sunday 14 of February 2010, Mark Adler wrote:
> On Feb 14, 2010, at 3:37 AM, Arkadiusz Miskiewicz wrote:
> > 1. Most likely a bug in this program (poldek).
>
> A quick examination of the code turned this line in trurlib/nstream.c that
> might be causing a problem:
>
> st->st_tell = (long (*)(void*))gztell;
>
> gztell() is being cast to return a long, whereas it is likely to have been
> compiled to return a 64-bit offset.
Tried using off_t in these places but the problem persists, so something else
is going on ( + offsets are quire low, 50k max).
The problem is in pkgdir/pkg_restore.c pkg_restore_st(), file being read is
ftp://ftp.pld.kernel.pl/dists/th/test/x86_64/RPMS/packages.ndir.gz
Problematic zlib:
ENTER pkg_restore_st()
I'm at 19794
line[19794] = (s: -
)
I'm at 19798
line[19798] = (f:1
)
I'm at 19830
line[19830] = (P:2
)
I'm at 19906
line[19906] = (R:2
)
I'm at 20130
line[20130] = (S:2
)
I'm at 20176
line[20176] = (C:2
)
I'm at 20758
line[20758] = (L:4
)
I'm at 20771
line[20771] = (l:4
)
I'm at 32890
line[32890] = (d.ko.gz��) - this is invalid
Working zlib (OLD_GZIO):
ENTER pkg_restore_st()
I'm at 19794
line[19794] = (s: -
)
I'm at 19798
line[19798] = (f:1
)
I'm at 19830
line[19830] = (P:2
)
I'm at 19906
line[19906] = (R:2
)
I'm at 20130
line[20130] = (S:2
)
I'm at 20176
line[20176] = (C:2
)
I'm at 20758
line[20758] = (L:4
)
I'm at 20771
line[20771] = (l:4
)
I'm at 105090
line[105090] = (
)
> Mark
--
Arkadiusz Miśkiewicz PLD/Linux Team
arekm / maven.pl http://ftp.pld-linux.org/
More information about the Zlib-devel
mailing list