diff options
author | Michael Vogt <michael.vogt@ubuntu.com> | 2007-09-14 16:32:17 +0200 |
---|---|---|
committer | Michael Vogt <michael.vogt@ubuntu.com> | 2007-09-14 16:32:17 +0200 |
commit | 5c2682d0effa4b0eef1f18b10757c547e2ba6225 (patch) | |
tree | c5d26637c4c2701956e1b81dfa5077918209b88d /apt-pkg/packagemanager.h | |
parent | 821c6533d7ead7ec2e4832e6b3a980cd83c76754 (diff) | |
parent | 1d6386f35066c1cc3c053f94fccf379d86075eac (diff) |
* merged from apt--mvo
Diffstat (limited to 'apt-pkg/packagemanager.h')
-rw-r--r-- | apt-pkg/packagemanager.h | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/apt-pkg/packagemanager.h b/apt-pkg/packagemanager.h index adcbec3d0..53cd4c96f 100644 --- a/apt-pkg/packagemanager.h +++ b/apt-pkg/packagemanager.h @@ -90,20 +90,7 @@ class pkgPackageManager : protected pkgCache::Namespace }; // stuff that needs to be done after the fork - OrderResult DoInstallPostFork(int statusFd=-1) { - if(statusFd > 0) - SetCloseExec(statusFd, true); - bool goResult = Go(statusFd); - if(goResult == false) - return Failed; - - // if all was fine update the state file - if(Res == Completed) { - Cache.writeStateFile(NULL); - } - return Res; - }; - + OrderResult DoInstallPostFork(int statusFd=-1); bool FixMissing(); pkgPackageManager(pkgDepCache *Cache); |