Skip to content

pkgTagFile::Jump: Use lookback buffer to rejump to current position

Julian Andres Klode requested to merge jak/apt:tagfile-lookback into main

If we get called twice with the same offset, our d->Start and d->iOffset will already point at the offset for the next section. But since we have the start of the last parsed section still in the buffer, just make sure to always go back to the start first.

Closes: #1067440

Merge request reports

Loading