1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
$FreeBSD$ --- amarok/src/socketserver.cpp.orig +++ amarok/src/socketserver.cpp @@ -47,8 +47,9 @@ class AmaroKProcess : public KProcess { public: virtual int commSetupDoneC() { + int i = KProcess::commSetupDoneC(); amaroK::closeOpenFiles(KProcess::out[0],KProcess::in[0], KProcess::err[0]); - return KProcess::commSetupDoneC(); + return i; }; };