From: richterm Date: Tue, 16 Oct 2007 10:50:48 +0000 (+0000) Subject: temporary fix for missing error code on mac X-Git-Url: http://git.uio.no/git/?a=commitdiff_plain;h=ba7f962b40650e862495b78dd87a16f9bfabcc87;p=u%2Fmrichter%2FAliRoot.git temporary fix for missing error code on mac --- diff --git a/HLT/BASE/AliHLTSystem.cxx b/HLT/BASE/AliHLTSystem.cxx index cba34929906..0fc85b77f83 100644 --- a/HLT/BASE/AliHLTSystem.cxx +++ b/HLT/BASE/AliHLTSystem.cxx @@ -353,7 +353,7 @@ int AliHLTSystem::Run(Int_t iNofEvents, int bStop) } if (iResult>=0) { iResult=iCount; - } else if (iResult==-ENOKEY) { + } else if (iResult==-126 /*ENOKEY*/) { iResult=0; // do not propagate the error } ClearStatusFlags(kRunning); @@ -368,7 +368,7 @@ int AliHLTSystem::InitTasks() if (lnk==NULL) { HLTWarning("Task list is empty, aborting ..."); - return -ENOKEY; + return -126 /*ENOKEY*/; } while (lnk && iResult>=0) { TObject* obj=lnk->GetObject();