summaryrefslogtreecommitdiff
path: root/apt-pkg/deb/debfile.cc
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2013-09-03 23:00:37 +0200
committerDavid Kalnischkies <kalnischkies@gmail.com>2013-09-03 23:11:58 +0200
commit163d39cc4e81081d809b5c12c9cf60ee6db510f6 (patch)
treec3f55dc1caad32a414113d769541543f17465ca7 /apt-pkg/deb/debfile.cc
parentee0167c4a0bf0c6de5437d3b641e7e7c0c614f17 (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/deb/debfile.cc')
0 files changed, 0 insertions, 0 deletions