#ifndef PKGLIB_PACKAGEMANAGER_H
#define PKGLIB_PACKAGEMANAGER_H
-#ifdef __GNUG__
-#pragma interface "apt-pkg/packagemanager.h"
-#endif
#include <string>
#include <iostream>
// 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;