id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 13642,Strange behaviour of filesystem::relative on Windows,martin.apel@…,Beman Dawes,"The following code snippet behaves unexpected under Windows: {{{ path base(""C:\\Temp""); path contained (""c:\\temp\\test""); path result = relative(contained, base); std::cout << ""relative returns "" << result.generic_string() << ""\n""; }}} It returns an empty path, though the expected result would be something like "".\test"". This is due to a case sensitive comparison, which is not consistent with how Windows treats path names. I understand that this is the way it is documented, but if Boost.Filesystem is understood to be an abstraction layer over different operating systems, this is definitely not the desired behaviour. I have attached a patch, which fixes the problem. ",Bugs,new,To Be Determined,filesystem,Boost 1.67.0,Problem,,windows relative,