From 9f4ad99e92096981c5dc9401aa241a2314078b47 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Mon, 21 Jul 2003 20:58:21 +0000 Subject: [PATCH] * Canonicalise path. --- src/store.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }