Este sitio web funciona mejor con JavaScript.
Inicio
Explorar
lain.church
Ayuda
Registro
Iniciar sesión
izaya
/
OC-PsychOS2
réplica de
https://git.shadowkat.net/izaya/OC-PsychOS2.git
Seguir
1
Destacar
1
Fork
0
Código
Incidencias
0
Lanzamientos
0
Wiki
Actividad
Explorar el Código
made libmtar cope with lower memory systems at the expense of speed
master
XeonSquared
hace 3 años
padre
5db20adefd
commit
8865768576
Se han
modificado 1 ficheros
con
3 adiciones
y
1 borrados
Dividir vista
Opciones de diferencias
Mostrar estadísticas
Descargar archivo de parche
Descargar archivo de diferencias
+3
-1
lib/libmtar.lua
+ 3
- 1
lib/libmtar.lua
Ver fichero
@@ -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
Escribir
Vista previa
Cargando…
Cancelar
Guardar