id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 5118,replace_extension doesn't work as specified in documentation,bitfield.alex@…,Beman Dawes,"1. From Reference (see http://www.boost.org/doc/libs/1_45_0/libs/filesystem/v3/doc/reference.html#path-replace_extension): {{{ path& replace_extension(const path& new_extension = path()); Postcondition: extension() == replacement, where replacement is new_extension if new_extension.empty() || new_extension[0] == the dot character, otherwise replacement is the dot character followed by new_extension. Returns: *this }}} Testing this behavior {{{ path ph(""foo.txt""); std::cout << ph.replace_extension(""exe""); }}} Output: {{{ foo }}} Eather change the Reference or fix it in code. 2. Current implementation doesn't allow to work with complex extentions. {{{ path ph(""foo.txt""); std::cout << ph.replace_extention("".tar.bz2""); }}} Output: {{{ foo.bz2 }}} 3. There is no function to just add extension. something like that: {{{ path ph(""foo.txt""); std::cout << ph.add_extension(""bz2""); }}} Expected output: {{{ foo.txt.bz2 }}} ",Bugs,closed,To Be Determined,filesystem,Boost 1.45.0,Problem,fixed,extension,jonathan.jones@…