summaryrefslogtreecommitdiff
path: root/apt-inst/contrib
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2012-04-20 09:18:26 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2012-04-20 09:18:26 +0200
commit8c6d0ba4e25baa7b0dffc4e06e76fc63a71e656f (patch)
treec7256864e89df2aaaabdb2a0640e692022a882aa /apt-inst/contrib
parent66d404e36661301bd7482c75351111d5bea2905b (diff)
parentd4621f8277a76f3e5c87b06f7abd93df04446efc (diff)
merge from the lp:~mvo/apt/mvo branch
Diffstat (limited to 'apt-inst/contrib')
-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;
}