Boost C++ Libraries: Ticket #356: boost::filesystem::native() should reject '/' on non-Win32 https://svn.boost.org/trac10/ticket/356 <pre class="wiki">On Win32, filesystem::native() correctly checks paths for validity on Win32. For other systems, it just returns true, presumably on the theory that for Unix, anything goes. Unless I'm much mistaken though, the character '/' is not allowed in Unix filenames. As such, native() should be changed as follows: BOOST_FILESYSTEM_DECL bool native( const std::string &amp;name ) { return name.find('/') == std::string::npos; } </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/356 Trac 1.4.3 beman_dawes Tue, 29 Nov 2005 15:46:32 GMT status changed https://svn.boost.org/trac10/ticket/356#comment:1 https://svn.boost.org/trac10/ticket/356#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">closed</span> </li> </ul> <pre class="wiki">Logged In: YES user_id=51042 Fixed in both head and i18n branch. Thanks for the report. </pre> Ticket