]> git.sesse.net Git - plocate/blobdiff - database-builder.h
Make DatabaseBuilder write the file atomically.
[plocate] / database-builder.h
index 95c94a0f8f29b42bfde691b11dbccb129de68280..e799105563270690099bffcbc9f9b196d49beb6f 100644 (file)
@@ -78,6 +78,7 @@ public:
 
 private:
        FILE *outfp;
+       std::string outfile;
        Header hdr;
        const int block_size;
        std::chrono::steady_clock::time_point corpus_start;