diff options
author | David Kalnischkies <kalnischkies@gmail.com> | 2011-12-15 23:38:38 +0100 |
---|---|---|
committer | David Kalnischkies <kalnischkies@gmail.com> | 2011-12-15 23:38:38 +0100 |
commit | 561f860a385087ea4d863f01cb5e0e050a5e360f (patch) | |
tree | e691435fd26c5ccfd2187d50e5b428cc4864b0fc /apt-pkg/contrib/fileutl.h | |
parent | 73688d27f60b2da3889a06362ee567101e3b331e (diff) |
refactor compressor calling so that we don't (need to) export ExecCompressor
anymore and therefore are also able to drop quiet a bit of duplicated code
Diffstat (limited to 'apt-pkg/contrib/fileutl.h')
-rw-r--r-- | apt-pkg/contrib/fileutl.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/apt-pkg/contrib/fileutl.h b/apt-pkg/contrib/fileutl.h index f14f97b69..147535df1 100644 --- a/apt-pkg/contrib/fileutl.h +++ b/apt-pkg/contrib/fileutl.h @@ -178,14 +178,6 @@ bool WaitFd(int Fd,bool write = false,unsigned long timeout = 0); pid_t ExecFork(); bool ExecWait(pid_t Pid,const char *Name,bool Reap = false); -bool ExecCompressor(APT::Configuration::Compressor const &Prog, - pid_t *Pid, int const FileFd, int &OutFd, bool const Comp = true); -inline bool ExecDecompressor(APT::Configuration::Compressor const &Prog, - pid_t *Pid, int const FileFd, int &OutFd) -{ - return ExecCompressor(Prog, Pid, FileFd, OutFd, true); -} - // File string manipulators std::string flNotDir(std::string File); std::string flNotFile(std::string File); |