Changeset 871

Show
Ignore:
Timestamp:
01/29/08 14:53:40
Author:
robert
Message:

From Jean-Christophe Lombardo, "A "return" statement was missing in MachinePool?::setUpOnLocalHost()
and prevents from compiling under windows."

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/vpb/BuildLog.cpp

    r780 r871  
    1616 
    1717#include <iostream> 
     18#include <iomanip> 
    1819 
    1920using namespace vpb; 
     
    114115{ 
    115116    _fout.open(filename.c_str()); 
     117     
     118    _fout.setf(std::ios::fixed, std::ios::floatfield); 
     119    _fout.setf(std::ios::showpoint); 
     120    _fout.precision(3); 
    116121} 
    117122 
     
    119124{ 
    120125    OpenThreads::ScopedLock<OpenThreads::Mutex> lock(_mutex); 
    121     _fout<<message->time<<"\t:"<<message->message<<std::endl; 
     126    _fout<<message->time<<"\t: "<<message->message<<std::endl; 
    122127     
    123128    if (_taskFile.valid()) 
  • trunk/src/vpb/MachinePool.cpp

    r868 r871  
    682682    log(osg::NOTICE,"Setting up MachinePool to use all %i cores on this machine.",OpenThreads::GetNumberOfProcessors()); 
    683683    addMachine(vpb::getLocalHostName(),vpb::getCacheFileName(),std::string(),std::string(),OpenThreads::GetNumberOfProcessors()); 
     684    return true; 
    684685} 
    685686