about summary refs log tree commit diff
path: root/src/libstore/local-store.hh
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2014-11-19T16·07+0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-11-19T16·07+0100
commit1256ab3b446d8e35225c36e71abb50ee964ea050 (patch)
tree6cca5bb797379a3966aa9ec92fc48fc3f73266fe /src/libstore/local-store.hh
parented306febb586a005b86a0ade2485c3c932698314 (diff)
Clean up temp roots in a more C++ way
Diffstat (limited to 'src/libstore/local-store.hh')
-rw-r--r--src/libstore/local-store.hh4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libstore/local-store.hh b/src/libstore/local-store.hh
index dccdba533a0c..e0aabdba420d 100644
--- a/src/libstore/local-store.hh
+++ b/src/libstore/local-store.hh
@@ -244,6 +244,10 @@ private:
 
     bool didSetSubstituterEnv;
 
+    /* The file to which we write our temporary roots. */
+    Path fnTempRoots;
+    AutoCloseFD fdTempRoots;
+
     int getSchema();
 
     void openDB(bool create);