]> git.saurik.com Git - apt.git/blobdiff - apt-inst/contrib/extracttar.cc
* apt-inst/contrib/extracttar.cc:
[apt.git] / apt-inst / contrib / extracttar.cc
index 12919a7cd8bc9800fa6418cffb00a41e9e9671f3..806ba796d687833839b3f52020facfe68e40ce94 100644 (file)
@@ -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;
 }