summaryrefslogtreecommitdiff
path: root/apt-inst/contrib/extracttar.cc
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2012-04-19 11:12:07 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2012-04-19 11:12:07 +0200
commitc0df8a6255d0a23651fe6d0b8933b1a72dd97d4f (patch)
treed905ddfa8aabb13cfa2d372da4d3bc9b1f449ef4 /apt-inst/contrib/extracttar.cc
parent6ddc1adf2d91536570c0683ee322e4e4260268f3 (diff)
releasing version 0.8.16~exp12ubuntu9
Diffstat (limited to 'apt-inst/contrib/extracttar.cc')
-rw-r--r--apt-inst/contrib/extracttar.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-inst/contrib/extracttar.cc b/apt-inst/contrib/extracttar.cc
index 12919a7cd..806ba796d 100644
--- a/apt-inst/contrib/extracttar.cc
+++ b/apt-inst/contrib/extracttar.cc
@@ -146,7 +146,7 @@ bool ExtractTar::StartGzip()
}
// Fix up our FDs
- InFd.Fd(Pipes[0]);
+ InFd.OpenDescriptor(Pipes[0], FileFd::ReadOnly, FileFd::None, true);
close(Pipes[1]);
return true;
}