X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/fa235bed5a233d5ae44f6d9a35142fe933b92f4c..be728d8de5618040f6ae77fa958dd8c42129aa20:/apt-inst/contrib/extracttar.cc diff --git a/apt-inst/contrib/extracttar.cc b/apt-inst/contrib/extracttar.cc index 01b6b3836..806ba796d 100644 --- a/apt-inst/contrib/extracttar.cc +++ b/apt-inst/contrib/extracttar.cc @@ -16,8 +16,10 @@ ##################################################################### */ /*}}}*/ // Include Files /*{{{*/ -#include +#include +#include +#include #include #include #include @@ -28,6 +30,7 @@ #include #include #include + #include /*}}}*/ @@ -143,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; }