ccan: update to get improved grab_file API, and adapt code.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2025-10-24 13:57:51 +10:30
parent b676171f86
commit 42f9361375
39 changed files with 180 additions and 114 deletions

View File

@@ -146,9 +146,9 @@ int main(int argc, char *argv[])
u8 *contents;
if (streq(di->d_name, ".") || streq(di->d_name, ".."))
continue;
contents = grab_file(tmpctx, di->d_name);
contents = grab_file_raw(tmpctx, di->d_name);
assert(contents);
run(contents, tal_bytelen(contents)-1);
run(contents, tal_bytelen(contents));
}
closedir(d);
common_shutdown();