]> git.saurik.com Git - apt.git/commit
Use some semantically more correct buffer operations
authorJulian Andres Klode <jak@debian.org>
Thu, 4 Feb 2016 17:33:30 +0000 (18:33 +0100)
committerJulian Andres Klode <jak@debian.org>
Thu, 4 Feb 2016 17:34:42 +0000 (18:34 +0100)
commit72ed5f14b558984bd9c5731f82345b10cb2df2ca
tree392ce15f137d8ec7255a44a627a33eb2be2d4e0d
parenteb5113c486955d9cd66126aa59d3a27e52c52e58
Use some semantically more correct buffer operations

When writing into the buffer write to free() bytes starting
at getend(), instead of buffersize_max bytes at get()
-> get() is a read pointer.

This makes no difference in practice though, as we reset
the buffer before the call, so start = end = 0.

Gbp-Dch: ignore
apt-pkg/contrib/fileutl.cc