This website works better with JavaScript.
首頁
探索
lain.church
說明
註冊
登入
izaya
/
OC-PsychOS2
镜像来自
https://git.shadowkat.net/izaya/OC-PsychOS2.git
關註
1
收藏
1
複製
0
程式碼
問題管理
0
版本發佈
0
Wiki
Activity
瀏覽代碼
made libmtar cope with lower memory systems at the expense of speed
master
XeonSquared
3 年之前
父節點
5db20adefd
當前提交
8865768576
共有
1 個文件被更改
,包括
3 次插入
和
1 次删除
分割檢視
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-1
lib/libmtar.lua
+ 3
- 1
lib/libmtar.lua
查看文件
@@ -43,7 +43,9 @@ function mtar.iter(stream) -- table -- function -- Given buffer *stream*, return
return rb
end
return function()
stream:read(remain)
while remain > 0 do
remain=remain-#stream:read(math.min(remain,2048))
end
local nlen = toint(stream:read(2) or "\0\0")
if nlen == 0 then
return
Write
Preview
Loading…
取消
儲存