* Canonicalise path.

This commit is contained in:
Eelco Dolstra 2003-07-21 20:58:21 +00:00
parent 249988a787
commit 9f4ad99e92

View file

@ -151,7 +151,7 @@ void unregisterPath(const string & _path)
bool queryPathId(const string & path, FSId & id)
{
string s;
if (!queryDB(nixDB, dbPath2Id, path, s)) return false;
if (!queryDB(nixDB, dbPath2Id, absPath(path), s)) return false;
id = parseHash(s);
return true;
}