authorgravatar for fncontroloption@noreply.codeberg.orgFnControlOption <fncontroloption@noreply.codeberg.org> 2023-02-05 09:18:07-08:00
committergravatar for noreply@github.comGitHub <noreply@github.com> 2023-02-05 09:18:07-08:00
log43c76e0c8e742d17bda32bc358ff4125b84e6b26
tree52c51596d5f01731adcd4b590adc9718e69434ea
parent622a364715522b239eee57aa071399fa268fd372
signaturebadge-question-mark Signed by PGP key 4AEE18F83AFDEB23

Update block.zig


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

lib/std/compress/xz/block.zig+2-2
......@@ -1,5 +1,5 @@
11const std = @import("../../std.zig");
2const lzma = std.compress.lzma;
2const lzma2 = std.compress.lzma2;
33const Allocator = std.mem.Allocator;
44const ArrayListUnmanaged = std.ArrayListUnmanaged;
55const Crc32 = std.hash.Crc32;
......@@ -155,7 +155,7 @@ pub fn Decoder(comptime ReaderType: type) type {
155155
156156 // Compressed Data
157157 var packed_counter = std.io.countingReader(block_reader);
158 try lzma.lzma2Decompress(
158 try lzma2.decompress(
159159 self.allocator,
160160 packed_counter.reader(),
161161 self.to_read.writer(self.allocator),