[BusyBox] zlib: conflicting types
Nick Fedchik
fnm at fusion.ukrsat.com
Sat Mar 15 07:50:05 UTC 2003
On Sun, 16 Mar 2003, Glenn McGrath wrote:
>I suspect inflate would be doing the same thing in busybox and cramfs so
>they should be able to be modified to share the same function in
>busybox.
Ah, it's not so easy.
Look at zlib-1.1.4/inflate.c:
int ZEXPORT inflate(z, f)
z_streamp z;
int f;
...
and compare it with
busybox/archival/libunarchive/unzip.c:
extern int inflate(int in, int out);
A lot of differences... :(
So I think it could be better if I drop this idea to port cramfs tools.
Unfortunally I haven't time to deep work of zlib adaptation for BB.
I can make a cramfs utils patch and sent it by request, if someone can done
this job.
--
Nick Fedchik, FNM3-RIPE(UANIC)
Internet Dept./ISP UkrSat, Kiev, Ukraine
More information about the busybox
mailing list