From 78491e5753dfc1b5878c7eed3ca31538eb791af6 Mon Sep 17 00:00:00 2001 From: cascade Date: Fri, 13 Feb 2009 18:33:58 +0000 Subject: [PATCH] OCC20850 umake command do not work on SunOS10 --- src/WOKUnix/WOKUnix_ASyncStatus.cxx | 6 +-- src/WOKUnix/WOKUnix_AdmFile.cxx | 4 +- src/WOKUnix/WOKUnix_FileBuffer.cxx | 6 +-- src/WOKUnix/WOKUnix_Path.cxx | 56 +++++++++++++------------- src/WOKUnix/WOKUnix_PathIterator.cxx | 4 +- src/WOKUnix/WOKUnix_Process.cxx | 8 ++-- src/WOKUnix/WOKUnix_ProcessManager.cxx | 16 ++++---- src/WOKUnix/WOKUnix_RemoteShell.cxx | 2 +- src/WOKUnix/WOKUnix_Shell.cxx | 14 +++---- src/WOKUnix/WOKUnix_SyncStatus.cxx | 2 +- 10 files changed, 59 insertions(+), 59 deletions(-) diff --git a/src/WOKUnix/WOKUnix_ASyncStatus.cxx b/src/WOKUnix/WOKUnix_ASyncStatus.cxx index f04bb68..b0b3ce5 100755 --- a/src/WOKUnix/WOKUnix_ASyncStatus.cxx +++ b/src/WOKUnix/WOKUnix_ASyncStatus.cxx @@ -36,7 +36,7 @@ void WOKUnix_ASyncStatus::EndCmd(const Handle(WOKUnix_Shell)& ashell) ashell->WOKUnix_Process::Send(abuf); #ifdef WOK_VERBOSE - VerboseMsg("WOK_PROCESS") << "WOKUnix_ASyncStatus::EndCmd" << "Accumulating Status" << endm; + VerboseMsg()("WOK_PROCESS") << "WOKUnix_ASyncStatus::EndCmd" << "Accumulating Status" << endm; #endif return; } @@ -63,7 +63,7 @@ void WOKUnix_ASyncStatus::Sync(const Handle(WOKUnix_Shell)& ashell) mystatus = ashell->SyncAndStatus(); #ifdef WOK_VERBOSE - VerboseMsg("WOK_PROCESS") << "WOKUnix_ASyncStatus::Sync" << "GotStatus : " << mystatus << endm; + VerboseMsg()("WOK_PROCESS") << "WOKUnix_ASyncStatus::Sync" << "GotStatus : " << mystatus << endm; #endif Reset(ashell); @@ -80,7 +80,7 @@ void WOKUnix_ASyncStatus::Reset(const Handle(WOKUnix_Shell)& ashell) static Handle(TCollection_HAsciiString) abuf = new TCollection_HAsciiString("\nset wok_csh_status = 0\n"); ashell->WOKUnix_Process::Send(abuf); #ifdef WOK_VERBOSE - VerboseMsg("WOK_PROCESS") << "WOKUnix_ASyncStatus::Reset" << "Reset Shell" << endm; + VerboseMsg()("WOK_PROCESS") << "WOKUnix_ASyncStatus::Reset" << "Reset Shell" << endm; #endif return; } diff --git a/src/WOKUnix/WOKUnix_AdmFile.cxx b/src/WOKUnix/WOKUnix_AdmFile.cxx index 11ee7cc..20c3539 100755 --- a/src/WOKUnix/WOKUnix_AdmFile.cxx +++ b/src/WOKUnix/WOKUnix_AdmFile.cxx @@ -53,13 +53,13 @@ Handle(TColStd_HSequenceOfHAsciiString) WOKUnix_AdmFile::Read() if(Exists() == Standard_False) { - ErrorMsg << "WOKUnix_AdmFile::Read" << "File : " << Name() << "does not exists" << endm; + ErrorMsg() << "WOKUnix_AdmFile::Read" << "File : " << Name() << "does not exists" << endm; Standard_ProgramError::Raise("WOKUnix_AdmFile::Read : File dos not exists"); } if(KindOfFile() != OSD_FILE) { - ErrorMsg << "WOKUnix_AdmFile::Read" << "File : " << Name() << " is not a plain file" << endm; + ErrorMsg() << "WOKUnix_AdmFile::Read" << "File : " << Name() << " is not a plain file" << endm; Standard_ProgramError::Raise("WOKUnix_AdmFile::Read"); } diff --git a/src/WOKUnix/WOKUnix_FileBuffer.cxx b/src/WOKUnix/WOKUnix_FileBuffer.cxx index 761f371..cfca51e 100755 --- a/src/WOKUnix/WOKUnix_FileBuffer.cxx +++ b/src/WOKUnix/WOKUnix_FileBuffer.cxx @@ -90,7 +90,7 @@ void WOKUnix_FileBuffer::Acquit(const Standard_Integer astatus, const WOKUnix_FD Standard_Integer nbtoread = GetFDescr().GetNbToRead(); #endif // __GNUC__ #if defined( WOK_VERBOSE ) && !defined( __GNUC__ ) - VerboseMsg("WOK_PROCESS") << "WOKUnix_FileBuffer::Acquit" + VerboseMsg()("WOK_PROCESS") << "WOKUnix_FileBuffer::Acquit" << "There is " << nbtoread << " bytes to read on process output" << endm; #endif #ifndef __GNUC__ @@ -113,7 +113,7 @@ void WOKUnix_FileBuffer::Dump() Standard_Integer maxsize; #ifdef WOK_VERBOSE - VerboseMsg("WOK_PROCESS") << "WOKUnix_FileBuffer::Dump" + VerboseMsg()("WOK_PROCESS") << "WOKUnix_FileBuffer::Dump" << "Dumping" << endm; #endif @@ -136,7 +136,7 @@ void WOKUnix_FileBuffer::Dump() } WOKUnix_Buffer::Write(mybuffer); #ifdef WOK_VERBOSE - VerboseMsg("WOK_PROCESS") << "WOKUnix_FileBuffer::Dump" + VerboseMsg()("WOK_PROCESS") << "WOKUnix_FileBuffer::Dump" << "Dumped" << endm; #endif diff --git a/src/WOKUnix/WOKUnix_Path.cxx b/src/WOKUnix/WOKUnix_Path.cxx index 53b6d9f..8c51de0 100755 --- a/src/WOKUnix/WOKUnix_Path.cxx +++ b/src/WOKUnix/WOKUnix_Path.cxx @@ -150,7 +150,7 @@ Standard_Boolean WOKUnix_Path::CreateDirectory(const Standard_Boolean CreatePare // l'inode existe deja if(!IsDirectory()) { - ErrorMsg << "WOKUnix_Path::CreateDirectory" + ErrorMsg() << "WOKUnix_Path::CreateDirectory" << mypath << " exists and is not a directory" << endm; return Standard_False; } @@ -163,16 +163,16 @@ Standard_Boolean WOKUnix_Path::CreateDirectory(const Standard_Boolean CreatePare { if(!parent->IsDirectory()) { - ErrorMsg << "WOKUnix_Path::CreateDirectory" + ErrorMsg() << "WOKUnix_Path::CreateDirectory" << "Parent Directory " << parent->Name() << " exists and is not a directory" << endm; return Standard_False; } if(mkdir(mypath->ToCString(), 0777)) { - ErrorMsg << "WOKUnix_Path::CreateDirectory" + ErrorMsg() << "WOKUnix_Path::CreateDirectory" << WOKUnix::LastSystemMessage() << endm; - ErrorMsg << "WOKUnix_Path::CreateDirectory" + ErrorMsg() << "WOKUnix_Path::CreateDirectory" << "Could not create directory : " << mypath << endm; return Standard_False; } @@ -181,7 +181,7 @@ Standard_Boolean WOKUnix_Path::CreateDirectory(const Standard_Boolean CreatePare if(CreateParents == Standard_False) { - ErrorMsg << "WOKUnix_Path::CreateDirectory" + ErrorMsg() << "WOKUnix_Path::CreateDirectory" << "Parent Directory " << parent->Name() << " does not exist" << endm; return Standard_False; } @@ -212,7 +212,7 @@ Standard_Boolean WOKUnix_Path::CreateFile(const Standard_Boolean CreateParents) // l'inode existe deja if(!IsFile()) { - ErrorMsg << "WOKUnix_Path::CreateFile" + ErrorMsg() << "WOKUnix_Path::CreateFile" << mypath << " exists and is not a file" << endm; return Standard_False; } @@ -221,7 +221,7 @@ Standard_Boolean WOKUnix_Path::CreateFile(const Standard_Boolean CreateParents) //if(apath.IsValid(mypath->ToCString()) == Standard_False) // { - // ErrorMsg << "WOKUnix_Path::CreateFile" + // ErrorMsg() << "WOKUnix_Path::CreateFile" // << mypath << " is invalid" << endm; // return Standard_False; // } @@ -232,7 +232,7 @@ Standard_Boolean WOKUnix_Path::CreateFile(const Standard_Boolean CreateParents) { if(!parent->IsDirectory()) { - ErrorMsg << "WOKUnix_Path::CreateFile" + ErrorMsg() << "WOKUnix_Path::CreateFile" << "Parent Directory " << parent->Name() << " exists and is not a directory" << endm; return Standard_False; } @@ -241,8 +241,8 @@ Standard_Boolean WOKUnix_Path::CreateFile(const Standard_Boolean CreateParents) if((fd=creat(mypath->ToCString(), S_IRWXU | S_IRWXG | S_IROTH | S_IXOTH)) < 0) { - ErrorMsg << "WOKUnix_Path::CreateFile" << WOKUnix::LastSystemMessage() << endm; - ErrorMsg << "WOKUnix_Path::CreateFile" << "Could not create " << mypath << endm; + ErrorMsg() << "WOKUnix_Path::CreateFile" << WOKUnix::LastSystemMessage() << endm; + ErrorMsg() << "WOKUnix_Path::CreateFile" << "Could not create " << mypath << endm; return Standard_False; } close(fd); @@ -250,7 +250,7 @@ Standard_Boolean WOKUnix_Path::CreateFile(const Standard_Boolean CreateParents) } else if(CreateParents == Standard_False) { - ErrorMsg << "WOKUnix_Path::CreateFile" + ErrorMsg() << "WOKUnix_Path::CreateFile" << "Parent Directory " << parent->Name() << " does not exist" << endm; @@ -310,16 +310,16 @@ Standard_Boolean WOKUnix_Path::CreateSymLinkTo(const Handle(WOKUnix_Path)& apat { if(apath.IsNull() || Name().IsNull()) { - ErrorMsg << "WOKUnix_Path::CreateSymLinkTo" + ErrorMsg() << "WOKUnix_Path::CreateSymLinkTo" << "Unable to create symlink : Invalid arguments" << endm; return Standard_False; } if(symlink(apath->Name()->ToCString(), Name()->ToCString())) { - ErrorMsg << "WOKUnix_Path::CreateSymLinkTo" + ErrorMsg() << "WOKUnix_Path::CreateSymLinkTo" << WOKUnix::LastSystemMessage() << endm; - ErrorMsg << "WOKUnix_Path::CreateSymLinkTo" + ErrorMsg() << "WOKUnix_Path::CreateSymLinkTo" << "Unable to create " << Name() << " -> " << apath->Name() << endm; return Standard_False; } @@ -334,7 +334,7 @@ Standard_Boolean WOKUnix_Path::RemoveDirectory(const Standard_Boolean RemoveChil { if(Name().IsNull()) { - ErrorMsg << "WOKUnix_Path::RemoveDirectory" + ErrorMsg() << "WOKUnix_Path::RemoveDirectory" << "Invalid null name" << endm; return Standard_False; } @@ -343,9 +343,9 @@ Standard_Boolean WOKUnix_Path::RemoveDirectory(const Standard_Boolean RemoveChil { if(rmdir(Name()->ToCString()) != 0) { - ErrorMsg << "WOKUnix_Path::RemoveDirectory" + ErrorMsg() << "WOKUnix_Path::RemoveDirectory" << WOKUnix::LastSystemMessage() << endm; - ErrorMsg << "WOKUnix_Path::RemoveDirectory" + ErrorMsg() << "WOKUnix_Path::RemoveDirectory" << "Could not remove : " << Name() << endm; return Standard_False; } @@ -365,15 +365,15 @@ Standard_Boolean WOKUnix_Path::RemoveFile() { if(Name().IsNull()) { - ErrorMsg << "WOKUnix_Path::RemoveFile" + ErrorMsg() << "WOKUnix_Path::RemoveFile" << "Invalid null name" << endm; return Standard_False; } if(unlink(Name()->ToCString())) { - ErrorMsg << "WOKUnix_Path::RemoveFile" + ErrorMsg() << "WOKUnix_Path::RemoveFile" << WOKUnix::LastSystemMessage() << endm; - ErrorMsg << "WOKUnix_Path::RemoveFile" + ErrorMsg() << "WOKUnix_Path::RemoveFile" << "Failed to Remove : " << Name() << endm; return Standard_False; } @@ -388,9 +388,9 @@ Standard_Boolean WOKUnix_Path::MoveTo(const Handle(WOKUnix_Path)& adestpath) { if(rename(mypath->ToCString(), adestpath->Name()->ToCString())) { - ErrorMsg << "WOKUnix_Path::MoveTo" + ErrorMsg() << "WOKUnix_Path::MoveTo" << WOKUnix::LastSystemMessage() << endm; - ErrorMsg << "WOKUnix_Path::MoveTo" + ErrorMsg() << "WOKUnix_Path::MoveTo" << "Failed to Move " << mypath->ToCString() << " to " << adestpath->Name()->ToCString()<< endm; return Standard_False; } @@ -420,7 +420,7 @@ Handle(WOKUnix_Path) WOKUnix_Path::ReducedPath() const if(realpath(mypath->ToCString(), abuffer) == NULL) { - ErrorMsg << "WOKUnix_Path::ReducedPath" << WOKUnix::LastSystemMessage() << endm; + ErrorMsg() << "WOKUnix_Path::ReducedPath" << WOKUnix::LastSystemMessage() << endm; return this; } @@ -473,14 +473,14 @@ Standard_Boolean WOKUnix_Path::IsSameFile(const Handle(WOKUnix_Path)& another) c if((fd1 = open(Name()->ToCString(), O_RDONLY, 0)) < 0) { - ErrorMsg << "WOKUnix_Path::IsSameFile" << WOKUnix::LastSystemMessage() << endm; - ErrorMsg << "WOKUnix_Path::IsSameFile" << "Can't open " << Name() << endm; + ErrorMsg() << "WOKUnix_Path::IsSameFile" << WOKUnix::LastSystemMessage() << endm; + ErrorMsg() << "WOKUnix_Path::IsSameFile" << "Can't open " << Name() << endm; return Standard_False; } if((fd2 = open(another->Name()->ToCString(), O_RDONLY, 0)) < 0) { - ErrorMsg << "WOKUnix_Path::IsSameFile" << WOKUnix::LastSystemMessage() << endm; - ErrorMsg << "WOKUnix_Path::IsSameFile" << "Can't open " << another->Name() << endm; + ErrorMsg() << "WOKUnix_Path::IsSameFile" << WOKUnix::LastSystemMessage() << endm; + ErrorMsg() << "WOKUnix_Path::IsSameFile" << "Can't open " << another->Name() << endm; return Standard_False; } @@ -520,7 +520,7 @@ Standard_Boolean WOKUnix_Path::GetStats() if(!Exists()) return Standard_False; else if(stat(mypath->ToCString(), &mystats)) { - ErrorMsg << "WOKUnix_Path::GetStats" + ErrorMsg() << "WOKUnix_Path::GetStats" << WOKUnix::LastSystemMessage() << endm; return Standard_False; } diff --git a/src/WOKUnix/WOKUnix_PathIterator.cxx b/src/WOKUnix/WOKUnix_PathIterator.cxx index ab77c54..330bdd6 100755 --- a/src/WOKUnix/WOKUnix_PathIterator.cxx +++ b/src/WOKUnix/WOKUnix_PathIterator.cxx @@ -25,9 +25,9 @@ WOKUnix_PathIterator::WOKUnix_PathIterator(const Handle(WOKUnix_Path)& apath, co if(!adir) { - ErrorMsg << "WOKUnix_PathIterator::WOKUnix_PathIterator" + ErrorMsg() << "WOKUnix_PathIterator::WOKUnix_PathIterator" << WOKUnix::LastSystemMessage() << endm; - ErrorMsg << "WOKUnix_PathIterator::WOKUnix_PathIterator" + ErrorMsg() << "WOKUnix_PathIterator::WOKUnix_PathIterator" << "Could not open directory " << apath->Name() << endm; mymore = Standard_False; return; diff --git a/src/WOKUnix/WOKUnix_Process.cxx b/src/WOKUnix/WOKUnix_Process.cxx index fa649c7..a5dd0b9 100755 --- a/src/WOKUnix/WOKUnix_Process.cxx +++ b/src/WOKUnix/WOKUnix_Process.cxx @@ -205,7 +205,7 @@ void WOKUnix_Process::Launch() } WOK_TRACE { - VerboseMsg("WOK_PROCESS") << "WOKUnix_Process::Launch" << "Process " << mychildpid << " launched" << endm; + VerboseMsg()("WOK_PROCESS") << "WOKUnix_Process::Launch" << "Process " << mychildpid << " launched" << endm; } mylaunched = Standard_True; @@ -305,13 +305,13 @@ void WOKUnix_Process::Send(const Handle(TCollection_HAsciiString)& astring) Standard_CString ptr = astring->ToCString(); WOK_TRACE { - VerboseMsg("WOK_PROCESS") << "WOKUnix_Process::Send" + VerboseMsg()("WOK_PROCESS") << "WOKUnix_Process::Send" << "Writing : " << astring->ToCString() << "to file id : " << myinput.FileNo() << endm; } if(!IsLaunched()) { - ErrorMsg << "WOKUnix_Process::Send" << "Trying to perform send to dead or unlaunched process" << endm; + ErrorMsg() << "WOKUnix_Process::Send" << "Trying to perform send to dead or unlaunched process" << endm; Standard_ProgramError::Raise("WOKUnix_Process::Send"); } @@ -329,7 +329,7 @@ void WOKUnix_Process::Send(const Handle(TCollection_HAsciiString)& astring) // il faut laisser le temps au temps WOK_TRACE { - VerboseMsg("WOK_PROCESS") << "WOKUnix_Process::Send" + VerboseMsg()("WOK_PROCESS") << "WOKUnix_Process::Send" << "Write failed : Acquit output" << endm; } diff --git a/src/WOKUnix/WOKUnix_ProcessManager.cxx b/src/WOKUnix/WOKUnix_ProcessManager.cxx index 7267ccb..5cafdf6 100755 --- a/src/WOKUnix/WOKUnix_ProcessManager.cxx +++ b/src/WOKUnix/WOKUnix_ProcessManager.cxx @@ -55,7 +55,7 @@ WOKUnix_SequenceOfProcess &WOKUnix_ProcessManager::Processes() void WOKUnix_ProcessManager::InteruptHandler() { #ifdef WOK_VERBOSE - VerboseMsg("WOK_PROCESS") << "WOKUnix_ProcessManager::InteruptHandler" + VerboseMsg()("WOK_PROCESS") << "WOKUnix_ProcessManager::InteruptHandler" << "Interupt Signal Launched !!" << endm; #endif @@ -76,7 +76,7 @@ void WOKUnix_ProcessManager::ChildDeathHandler() if(pid == CriticPid) { - ErrorMsg << "WOKUnix_ProcessManager::ChildDeathHandler" + ErrorMsg() << "WOKUnix_ProcessManager::ChildDeathHandler" << "Child " << pid << " died" << endm; Standard_ProgramError::Raise("unexpected child shell death"); } @@ -86,7 +86,7 @@ void WOKUnix_ProcessManager::ChildDeathHandler() if(Processes().Value(ind)->Pid() == pid) { #ifdef WOK_VERBOSE - VerboseMsg("WOK_PROCESS") << "WOKUnix_ProcessManager::ChildDeathHandler" + VerboseMsg()("WOK_PROCESS") << "WOKUnix_ProcessManager::ChildDeathHandler" << "Process " << pid << " died" << endm; #endif Processes().Value(ind)->Kill(); @@ -104,7 +104,7 @@ void WOKUnix_ProcessManager::ChildDeathHandler() void WOKUnix_ProcessManager::PipeHandler() { #ifdef WOK_VERBOSE - VerboseMsg("WOK_PROCESS") << "WOKUnix_ProcessManager::PipeHandler" << "SIGPIPE received" << endm; + VerboseMsg()("WOK_PROCESS") << "WOKUnix_ProcessManager::PipeHandler" << "SIGPIPE received" << endm; #endif return; } @@ -116,13 +116,13 @@ void WOKUnix_ProcessManager::PipeHandler() void WOKUnix_ProcessManager::KillAll() { #ifdef WOK_VERBOSE - VerboseMsg("WOK_PROCESS") << "WOKUnix_ProcessManager::PipeHandler" << "Killing all sub proccesses" << endm; + VerboseMsg()("WOK_PROCESS") << "WOKUnix_ProcessManager::PipeHandler" << "Killing all sub proccesses" << endm; #endif for(Standard_Integer ind = 1; ind <= Processes().Length(); ind ++) { #ifdef WOK_VERBOSE - VerboseMsg("WOK_PROCESS") << "WOKUnix_ProcessManager::KillAll" + VerboseMsg()("WOK_PROCESS") << "WOKUnix_ProcessManager::KillAll" << "Process " << Processes().Value(ind)->Pid() << " requested to die (interrupt)" << endm; #endif Processes().Value(ind)->Kill(); @@ -177,14 +177,14 @@ void WOKUnix_ProcessManager::WaitProcess(const Handle(WOKUnix_Process)& aprocess #ifdef WOK_VERBOSE - VerboseMsg("WOK_PROCESS") << "WOKUnix_ProcessManager::WaitProcess" + VerboseMsg()("WOK_PROCESS") << "WOKUnix_ProcessManager::WaitProcess" << "Waiting for process " << aprocess->Pid() << " to die" << endm; #endif pid = waitpid(aprocess->Pid(), &status, 0); #ifdef WOK_VERBOSE - VerboseMsg("WOK_PROCESS") << "WOKUnix_ProcessManager::WaitProcess" + VerboseMsg()("WOK_PROCESS") << "WOKUnix_ProcessManager::WaitProcess" << "Process " << aprocess->Pid() << " died" << endm; #endif diff --git a/src/WOKUnix/WOKUnix_RemoteShell.cxx b/src/WOKUnix/WOKUnix_RemoteShell.cxx index ce80f6b..22235de 100755 --- a/src/WOKUnix/WOKUnix_RemoteShell.cxx +++ b/src/WOKUnix/WOKUnix_RemoteShell.cxx @@ -76,7 +76,7 @@ if(!IsLaunched()) { - ErrorMsg << "WOKUnix_RemoteShell::SyncAndStatus()" << "Trying to perform sync to dead or unlaunched process" << endm; + ErrorMsg() << "WOKUnix_RemoteShell::SyncAndStatus()" << "Trying to perform sync to dead or unlaunched process" << endm; Standard_ProgramError::Raise("WOKUnix_RemoteShell::SyncAndStatus()"); } diff --git a/src/WOKUnix/WOKUnix_Shell.cxx b/src/WOKUnix/WOKUnix_Shell.cxx index 2e04450..ab3373b 100755 --- a/src/WOKUnix/WOKUnix_Shell.cxx +++ b/src/WOKUnix/WOKUnix_Shell.cxx @@ -156,7 +156,7 @@ void WOKUnix_Shell::Echo(const Handle(TCollection_HAsciiString)& astr) const { if(myecho) { - WOKTools_Info shellinfo = InfoMsg; + WOKTools_Info shellinfo = InfoMsg(); shellinfo.Init(); shellinfo.DontPrintHeader(); shellinfo.DontPrintContext(); @@ -279,7 +279,7 @@ void WOKUnix_Shell::SetASynchronous() WOKUnix_ProcessManager::SetCriticalPid(Pid()); WOK_TRACE { - VerboseMsg("WOK_PROCESS") << "WOKUnix_Shell::SyncAndStatus" + VerboseMsg()("WOK_PROCESS") << "WOKUnix_Shell::SyncAndStatus" << "Entering SyncAndStatus" << endm; } @@ -305,21 +305,21 @@ void WOKUnix_Shell::SetASynchronous() Select(fdmax, s_timeout, readfds); // process output Select #ifdef WOK_VERBOSE - if(VerboseMsg("WOK_PROCESS").IsSet()) { + if(VerboseMsg()("WOK_PROCESS").IsSet()) { Standard_Integer i; if(p_timeout) { - VerboseMsg("WOK_PROCESS") << "WOKUnix_Shell::SyncAndStatus" + VerboseMsg()("WOK_PROCESS") << "WOKUnix_Shell::SyncAndStatus" << "Entering select : timeout : " << (const int) s_timeout.tv_sec << "s " << (const int) s_timeout.tv_usec << "ms" << endm; } else { - VerboseMsg("WOK_PROCESS") << "WOKUnix_Shell::SyncAndStatus" + VerboseMsg()("WOK_PROCESS") << "WOKUnix_Shell::SyncAndStatus" << "Entering select : infinite wait" << endm; } for(i=0; iSyncAndStatus(); #ifdef WOK_VERBOSE - VerboseMsg("WOK_PROCESS") << "WOKUnix_SyncStatus::EndCmd" << "Command ended with status : " << mystatus << endm; + VerboseMsg()("WOK_PROCESS") << "WOKUnix_SyncStatus::EndCmd" << "Command ended with status : " << mystatus << endm; #endif } -- 2.39.5