From: Jay Freeman (saurik) Date: Fri, 26 Aug 2016 02:23:27 +0000 (-0700) Subject: Support signing DiskFolders with nested resources. X-Git-Tag: v2.1.0~44 X-Git-Url: https://git.saurik.com/ldid.git/commitdiff_plain/476c5012c24d4d65a2d217f3f11d409c3bb090a8 Support signing DiskFolders with nested resources. --- 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()); }));