mirror of https://github.com/mirror/busybox.git
Allow short reads when filling compress buffer
parent
9ef0944456
commit
d6aec8619d
|
@ -171,7 +171,7 @@ resetbuf: ;
|
|||
|
||||
if (insize < (int) sizeof(inbuf)-IBUFSIZ)
|
||||
{
|
||||
xread_all(fd_in, inbuf+insize, IBUFSIZ);
|
||||
rsize = read(fd_in, inbuf+insize, IBUFSIZ);
|
||||
insize += rsize;
|
||||
}
|
||||
|
||||
|
|
|
@ -171,7 +171,7 @@ resetbuf: ;
|
|||
|
||||
if (insize < (int) sizeof(inbuf)-IBUFSIZ)
|
||||
{
|
||||
xread_all(fd_in, inbuf+insize, IBUFSIZ);
|
||||
rsize = read(fd_in, inbuf+insize, IBUFSIZ);
|
||||
insize += rsize;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue