[Bug 14171] [feature request] zip program
bugzilla at busybox.net
bugzilla at busybox.net
Thu Oct 7 23:31:25 UTC 2021
https://bugs.busybox.net/show_bug.cgi?id=14171
--- Comment #1 from Denys Vlasenko <vda.linux at googlemail.com> ---
miniz.c is WAY too large.
$ cc -Os -c miniz.c
miniz.c:3079:9: note: ‘#pragma message: Using fopen, ftello, fseeko, stat()
etc. path for file I/O - this path may not support large files.’
3079 | #pragma message("Using fopen, ftello, fseeko, stat() etc. path for file
I/O - this path may not support large files.")
| ^~~~~~~
$ size miniz.o
text data bss dec hex filename
57201 0 0 57201 df71 miniz.o
For comparison, existing busybox code to handle zip file format:
$ size unzip.o
text data bss dec hex filename
3799 0 0 3799 ed7 unzip.o
gzip decompressor per se:
$ size libarchive/decompress_gunzip.o
text data bss dec hex filename
4950 0 0 4950 1356 libarchive/decompress_gunzip.o
and the gzip compression code:
$ size gzip.o
text data bss dec hex filename
5854 0 0 5854 16de gzip.o
I would prefer something like 15kb or less of code to support .zip file
creation. Not 57kb.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the busybox-cvs
mailing list