id summary reporter owner description type status milestone component version severity resolution keywords cc 5149 Incorrect behavior of basic_path.remove_filename() function lcarreon@… Beman Dawes "According to the documentation of basic_path.remove_filename(), the result should not contain any trailing slashes if the result is not the root directory. However, this is not what I am observing. Here is an example of what I have observed. I invoked current_path() and displayed a partial list of the properties of the result which are as follows: string = 'C:/Devel/projects/compiler_tests/test_path' file_string = 'C:\Devel\projects\compiler_tests\test_path' directory_string = 'C:\Devel\projects\compiler_tests\test_path' Afterwards, I invoked remove_filename() on the above and again displayed a partial list of the properties of the result which are as follows: string = 'C:/Devel/projects/compiler_tests/' file_string = 'C:\Devel\projects\compiler_tests\' directory_string = 'C:\Devel\projects\compiler_tests\' Am I misunderstanding the documentation because the above is not the result that I expected. However, if I invoked remove_filename() on the above and displayed the partial list of the properties of the result, I get the following: string = 'C:/Devel/projects/compiler_tests' file_string = 'C:\Devel\projects\compiler_tests' directory_string = 'C:\Devel\projects\compiler_tests' The above is the result I expected from the initial invocation of remove_filename(). Please clarify. Please note that I am observing the same behavior on Fedora Linux and Solaris 10 x86. " Bugs closed To Be Determined filesystem Boost 1.45.0 Problem invalid basic_path remove_filename