I have been reading through the Boost Filesystem library trying to get a feel for syntax. I'm looking at the current version available through sourceforge (1.33.1). I also noticed that the sourceforge version is different than the CVS version.

Anyway:

file: /libs/fileystem/src/path_posix_windows.cpp

function: m_path_append(const std::string&, name_checker)

lines: 305 -311

// append '/' if needed
if( !empty()
#ifdef BOOST_WINDOWS
&& *(m_path.end()-1) != ':' // QUESTION related to this
#endif
&& *(m_path.end()-1) != '/' )
m_path += '/';

-------------------------------------------------------------

The line in question appears to be a typo and should actually read
&& *(m_path.end()-1) != '\\'

Has this gone past the radar or do my eyes decieve me?