unsigned long long const dataSize = d->Size - ((d->End - d->Buffer) + 1);
if (d->Fd.Read(d->End, dataSize, &Actual) == false)
return false;
- if (Actual != dataSize || d->Fd.Eof() == true)
+ if (Actual != dataSize)
d->Done = true;
d->End += Actual;
}
// ---------------------------------------------------------------------
/* */
pkgTagSection::pkgTagSection()
- : Section(0), TagCount(0), Stop(0), d(NULL)
+ : Section(0), TagCount(0), d(NULL), Stop(0)
{
memset(&Indexes, 0, sizeof(Indexes));
memset(&AlphaIndexes, 0, sizeof(AlphaIndexes));