diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2003-07-21T20·58+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2003-07-21T20·58+0000 |
commit | 9f4ad99e92096981c5dc9401aa241a2314078b47 (patch) | |
tree | c8b39d39866d65bdc4a799e77391532c4195c54a /src/store.cc | |
parent | 249988a787d26046bf7b389594ff25029229e3d9 (diff) |
* Canonicalise path.
Diffstat (limited to 'src/store.cc')
-rw-r--r-- | src/store.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/store.cc b/src/store.cc index 6157b4bc22a1..65c44ca37fee 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; } |