From: Michael Vogt Date: Thu, 31 Oct 2013 22:00:11 +0000 (+0100) Subject: use StartDpkg() in PackageManagerProgressDeb822Fd as well X-Git-Tag: 0.9.13.exp1~3 X-Git-Url: https://git.saurik.com/apt.git/commitdiff_plain/790d41f6372871e527f3fc9da66d049937b4c780?hp=e45c4617e496b49f8d7225546a751022f246a2f3 use StartDpkg() in PackageManagerProgressDeb822Fd as well --- diff --git a/apt-pkg/install-progress.cc b/apt-pkg/install-progress.cc index 79660b29e..f76fc88c2 100644 --- a/apt-pkg/install-progress.cc +++ b/apt-pkg/install-progress.cc @@ -149,7 +149,7 @@ void PackageManagerProgressDeb822Fd::WriteToStatusFd(std::string s) FileFd::Write(OutStatusFd, s.c_str(), s.size()); } -void PackageManagerProgressDeb822Fd::Start() +void PackageManagerProgressDeb822Fd::StartDpkg() { // FIXME: use SetCloseExec here once it taught about throwing // exceptions instead of doing _exit(100) on failure diff --git a/apt-pkg/install-progress.h b/apt-pkg/install-progress.h index 5291039d8..d721c6373 100644 --- a/apt-pkg/install-progress.h +++ b/apt-pkg/install-progress.h @@ -97,7 +97,7 @@ namespace Progress { public: PackageManagerProgressDeb822Fd(int progress_fd); - virtual void Start(); + virtual void StartDpkg(); virtual void Stop(); virtual bool StatusChanged(std::string PackageName,