Index: source/Host/common/FileSpec.cpp =================================================================== --- source/Host/common/FileSpec.cpp +++ source/Host/common/FileSpec.cpp @@ -614,7 +614,7 @@ if (s) { m_directory.Dump(s); - if (m_directory && m_directory.GetStringRef().back() != '/') + if (m_filename && m_directory.GetStringRef().endswith("/")) s->PutChar('/'); m_filename.Dump(s); }