zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit 43c76e0c8e742d17bda32bc358ff4125b84e6b26 (tree)
parent 622a364715522b239eee57aa071399fa268fd372
Author: fn ⌃ ⌥ <70830482+FnControlOption@users.noreply.github.com>
Date:   Sun,  5 Feb 2023 09:18:07 -0800

Update block.zig
Diffstat:
Mlib/std/compress/xz/block.zig | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/std/compress/xz/block.zig b/lib/std/compress/xz/block.zig @@ -1,5 +1,5 @@ const std = @import("../../std.zig"); -const lzma = std.compress.lzma; +const lzma2 = std.compress.lzma2; const Allocator = std.mem.Allocator; const ArrayListUnmanaged = std.ArrayListUnmanaged; const Crc32 = std.hash.Crc32; @@ -155,7 +155,7 @@ pub fn Decoder(comptime ReaderType: type) type { // Compressed Data var packed_counter = std.io.countingReader(block_reader); - try lzma.lzma2Decompress( + try lzma2.decompress( self.allocator, packed_counter.reader(), self.to_read.writer(self.allocator),