diff options
author | David Kalnischkies <kalnischkies@gmail.com> | 2013-09-03 23:00:37 +0200 |
---|---|---|
committer | David Kalnischkies <kalnischkies@gmail.com> | 2013-09-03 23:11:58 +0200 |
commit | 163d39cc4e81081d809b5c12c9cf60ee6db510f6 (patch) | |
tree | c3f55dc1caad32a414113d769541543f17465ca7 /apt-pkg/packagemanager.cc | |
parent | ee0167c4a0bf0c6de5437d3b641e7e7c0c614f17 (diff) |
use FileFd in HashSum test to unbreak non-linux ports
The testcode happily mixes FILE* operations and direct access to fds
which is even a bit suprising that it works on linux and worked so
long for non-linux ports, so we switch to usage of FileFd instead
which provides us with simple fd-only operations. Its overkill for this
test as its a bare file and we ask for the descriptor all the time, but
it shouldn't hurt to implicitly test it a bit this way.
Closes: 721723
Thanks: Aaron M. Ucko
Diffstat (limited to 'apt-pkg/packagemanager.cc')
0 files changed, 0 insertions, 0 deletions