return a;
}
-/**
-Attaches another path to the end of this one. An absolute path replaces the
-existing data. ".." elements annihilate the last component and "." elements
-are ignored.
-*/
Path &Path::operator/=(const Path &p)
{
if(p.is_absolute())
}
}
-/**
-Adds a single component to the path, emulating the cd command. Fails horribly
-if comp contains a separator character.
-*/
void Path::add_component(const string &comp)
{
if(comp.empty())