Unlike the gzip file access functions, these functions only require a
working zcalloc/zcfree pair to work.
PR: 229763
Differential D21156
Expose zlib's utility functions in Z_SOLO library when building kernel. This allows kernel code to reuse zlib's implementation. delphij on Aug 4 2019, 6:18 AM. Authored by Tags None Referenced Files
Subscribers
Details Unlike the gzip file access functions, these functions only require a PR: 229763
Diff Detail
Event TimelineComment Actions I agree with the changes. When I started, I was also aiming to replace inflate() callers with zlib's GZIP support. Given all of inflate() callers are removed in the process and already, we don't need to deal with std headers. This makes simpler for callers and any ZLIB imports will need to deal with _KERNEL and FreeBSD macros.
Comment Actions I found and have one more minor comment. The changes look good.
Comment Actions Thanks! I think I'll commit this at some point this week (doing a tinderbox build now). |