aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2003-07-21 20:58:21 +0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2003-07-21 20:58:21 +0000
commit9f4ad99e92096981c5dc9401aa241a2314078b47 (patch)
treec8b39d39866d65bdc4a799e77391532c4195c54a /src
parent249988a787d26046bf7b389594ff25029229e3d9 (diff)
* Canonicalise path.
Diffstat (limited to 'src')
-rw-r--r--src/store.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/store.cc b/src/store.cc
index 6157b4bc2..65c44ca37 100644
--- a/src/store.cc
+++ b/src/store.cc
@@ -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;
}