Massive build script refactor

This commit is contained in:
topjohnwu
2017-06-03 20:19:01 +08:00
parent 532c6caddf
commit e780c76c93
32 changed files with 544 additions and 1385 deletions
-4
View File
@@ -162,10 +162,6 @@ static int xdecompress(int fdIn, int fdOut, off_t offsetIn, off_t offsetOut, siz
do {
strm.avail_in = read(fdIn, in, CHUNK);
if (strm.avail_in < 0) {
(void)inflateEnd(&strm);
return xerror("Read failed");
}
if (strm.avail_in == 0) break;
strm.next_in = in;