From f3aa3bae4c06453fb9012abdbbd9ee422e6d5669 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 12 May 2020 15:54:05 +0200 Subject: [PATCH] Fix build --- generate-programs-index.cc | 2 +- index-debuginfo.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/generate-programs-index.cc b/generate-programs-index.cc index 4c2f30e..1797f62 100644 --- a/generate-programs-index.cc +++ b/generate-programs-index.cc @@ -48,7 +48,7 @@ void mainWrapped(int argc, char * * argv) auto binaryCache = openStore(binaryCacheUri).cast(); /* Get the allowed store paths to be included in the database. */ - auto allowedPaths = binaryCache->parseStorePathSet(tokenizeString(readFile(storePathsFile, true))); + auto allowedPaths = binaryCache->parseStorePathSet(tokenizeString(readFile(storePathsFile))); StorePathSet allowedPathsClosure; binaryCache->computeFSClosure(allowedPaths, allowedPathsClosure); diff --git a/index-debuginfo.cc b/index-debuginfo.cc index 4c69834..721d70e 100644 --- a/index-debuginfo.cc +++ b/index-debuginfo.cc @@ -29,7 +29,7 @@ void mainWrapped(int argc, char * * argv) if (hasSuffix(binaryCacheUri, "/")) binaryCacheUri.pop_back(); auto binaryCache = openStore(binaryCacheUri).cast(); - auto storePaths = binaryCache->parseStorePathSet(tokenizeString(readFile(storePathsFile, true))); + auto storePaths = binaryCache->parseStorePathSet(tokenizeString(readFile(storePathsFile))); std::regex debugFileRegex("^lib/debug/\\.build-id/[0-9a-f]{2}/[0-9a-f]{38}\\.debug$");