if(!path.compare(start, string::npos, ".."))
{
// If the last component already is a .., add another
path+=DIRSEP;
path+=comp;
}
if(!path.compare(start, string::npos, ".."))
{
// If the last component already is a .., add another
path+=DIRSEP;
path+=comp;
}