Allow short reads when filling compress buffer

This commit is contained in:
Glenn L McGrath committed 2002-11-01 22:28:13 +00:00
1 parent 9ef0944456
commit d6aec8619d
2 files changed
+2 -2

No files matched your search

@@ -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;
}
+1 -1
View File
@@ -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;
}