#include "config.h"
#include "libbb.h"
-#if defined CONFIG_UNCOMPRESS || defined CONFIG_FEATURE_GUNZIP_UNCOMPRESS
-
/* uncompress for busybox -- (c) 2002 Robert Griebl
*
* based on the original compress42.c source
}
if (insize < (int) sizeof(inbuf) - IBUFSIZ) {
- rsize = read(fd_in, inbuf + insize, IBUFSIZ);
+ rsize = safe_read(fd_in, inbuf + insize, IBUFSIZ);
insize += rsize;
}
return 0;
}
-
-
-#endif