Allow short reads when filling compress buffer
diff --git a/archival/libunarchive/decompress_uncompress.c b/archival/libunarchive/decompress_uncompress.c
index 949e27d..02835cf 100644
--- a/archival/libunarchive/decompress_uncompress.c
+++ b/archival/libunarchive/decompress_uncompress.c
@@ -171,7 +171,7 @@
if (insize < (int) sizeof(inbuf)-IBUFSIZ)
{
- xread_all(fd_in, inbuf+insize, IBUFSIZ);
+ rsize = read(fd_in, inbuf+insize, IBUFSIZ);
insize += rsize;
}
diff --git a/archival/libunarchive/uncompress.c b/archival/libunarchive/uncompress.c
index 949e27d..02835cf 100644
--- a/archival/libunarchive/uncompress.c
+++ b/archival/libunarchive/uncompress.c
@@ -171,7 +171,7 @@
if (insize < (int) sizeof(inbuf)-IBUFSIZ)
{
- xread_all(fd_in, inbuf+insize, IBUFSIZ);
+ rsize = read(fd_in, inbuf+insize, IBUFSIZ);
insize += rsize;
}