authorgravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2021-02-10 20:55:47 -08:00
committergravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2021-02-10 20:55:47 -08:00
log34951666f74f8b91b68d6f6435b4b618fd8da60a
tree96683c1306cb3c6a5a3e2a6f2ead897c8a2524b0
parente2653bff9ba6cc7ce59f8cb498728e2b9a38d997

util/module: increase sum buffer max size


1 files changed, 1 insertions(+), 1 deletions(-)

src/util/module.zig+1-1
...@@ -64,7 +64,7 @@ pub const Module = struct {...@@ -64,7 +64,7 @@ pub const Module = struct {
64 const abs_path = try u.concat(&[_][]const u8{cdpath, "/", self.clean_path, "/", item});64 const abs_path = try u.concat(&[_][]const u8{cdpath, "/", self.clean_path, "/", item});
65 const file = try std.fs.cwd().openFile(abs_path, .{});65 const file = try std.fs.cwd().openFile(abs_path, .{});
66 defer file.close();66 defer file.close();
67 const input = try file.reader().readAllAlloc(gpa, u.mb);67 const input = try file.reader().readAllAlloc(gpa, u.mb*100);
68 h.update(input);68 h.update(input);
69 }69 }
70 var out: [32]u8 = undefined;70 var out: [32]u8 = undefined;