]> git.ipfire.org Git - thirdparty/zlib-ng.git/commit
Remove dead unlink forward declaration in minigzip tests
authorNathan Moin Vaziri <nathan@nathanm.com>
Fri, 17 Apr 2026 07:07:23 +0000 (00:07 -0700)
committerHans Kristian Rosbach <hk-github@circlestorm.org>
Tue, 26 May 2026 15:11:31 +0000 (17:11 +0200)
commitd6bd09bb5fe577e7a2111e70d4a9220b44b20ba5
tree093f28cc04d0db245aeb5a845910e27d42396c08
parentd4ade654b21007925655c1824d0cea67378fb062
Remove dead unlink forward declaration in minigzip tests

Both files include zbuild.h which now unconditionally defines
_LARGEFILE64_SOURCE, making the !defined(_LARGEFILE64_SOURCE) clause
always false and the whole block unreachable. The upstream-zlib
purpose was forward-declaring unlink on platforms without unistd.h
that aren't Windows, but zlib-ng's supported platforms either have
unistd.h or define _WIN32.
test/fuzz/fuzzer_minigzip.c
test/minigzip.c