From 476c5012c24d4d65a2d217f3f11d409c3bb090a8 Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Thu, 25 Aug 2016 19:23:27 -0700 Subject: Support signing DiskFolders with nested resources. --- ldid.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ldid.cpp b/ldid.cpp index ec81208..9fb3056 100644 --- a/ldid.cpp +++ b/ldid.cpp @@ -1701,7 +1701,9 @@ void DiskFolder::Find(const std::string &root, const std::string &base, const Fu code(base + name, fun([&](const Functor &code) { std::string access(root + base + name); _assert_(Open(access, fun([&](std::streambuf &data, const void *flag) { - NullBuffer save; + auto from(path + name); + std::filebuf save; + commit_[from] = Temporary(save, from); code(data, save); })), "open(): %s", access.c_str()); })); -- cgit v1.2.3-56-ge451