diff --git a/lib/std/compress/zstd/Decompress.zig b/lib/std/compress/zstd/Decompress.zig index 84eb731b63..fcc1cb8ecf 100644 --- a/lib/std/compress/zstd/Decompress.zig +++ b/lib/std/compress/zstd/Decompress.zig @@ -463,9 +463,9 @@ pub const Frame = struct { InputBufferUndersize, }; - /// Prepare the decoder to decode a compressed block. Loads the literals - /// stream and Huffman tree from `literals` and reads the FSE tables from - /// `source`. + /// Prepare the decoder to decode a compressed block. Loads the + /// literals stream and Huffman tree from `literals` and reads the + /// FSE tables from `in`. pub fn prepare( self: *Decode, in: *BufferedReader, diff --git a/lib/std/fs/Dir.zig b/lib/std/fs/Dir.zig index 2cf1aed7df..ea6cbc2696 100644 --- a/lib/std/fs/Dir.zig +++ b/lib/std/fs/Dir.zig @@ -2045,7 +2045,7 @@ pub fn readFileIntoArrayList( else => |e| return e, } - file_reader.interface().readRemainingArrayList(gpa, alignment, list, limit) catch |err| switch (err) { + file_reader.interface().readRemainingArrayList(gpa, alignment, list, limit, 128) catch |err| switch (err) { error.OutOfMemory => return error.OutOfMemory, error.StreamTooLong => return error.StreamTooLong, error.ReadFailed => return file_reader.err.?,