diff options
author | Julian Andres Klode <jak@debian.org> | 2014-03-16 14:48:11 +0100 |
---|---|---|
committer | Julian Andres Klode <jak@debian.org> | 2015-08-27 13:45:57 +0200 |
commit | 2da8aae5550440742674758280f2d339ba612a31 (patch) | |
tree | 91933854b73c53a63da661e5c1e516514cbaa198 /test/libapt/sourcelist_test.cc | |
parent | 864fe99c3628585ba2081650e441ab15e4ee7bae (diff) |
Always close compressed files in FileFd
We dup() the file descriptor when opening compressed files, so we
always need to close the dup()ed one. Furthermore, not unsetting
the d-pointer causes issues when running OpenDescriptor() multiple
times on the same file descriptor.
Diffstat (limited to 'test/libapt/sourcelist_test.cc')
0 files changed, 0 insertions, 0 deletions