Eyescale/Equalizer

the bug in file eq/server/node.cpp

lxq opened this issue · 4 comments

lxq commented

in file eq/server/node.cpp, line 449, the code is:

endif // WIN32

const boost::filesystem::path absolute =
    boost::filesystem::system_complete( boost::filesystem::path( program ));
program = absolute.native();

The calling 'absolute.native();' value will be 'boost::filesystem::path::string_type'(std::wstring), but 'program' is 'std::string'. Because in boost/filesystem/path.hpp, it defines like:

ifdef BOOST_WINDOWS_API

typedef wchar_t                        value_type;
typedef std::basic_string<value_type>  string_type;  
eile commented

Can you submit a pull request with a fix? I don't have access to a Windows machine to reproduce and fix.

lxq commented

Sure. I will do it soon.

Fixed with #449