bcd810622b
Turns out the Mac doesn't have <error.h>. Add our own "die" function instead, and use it everywhere so the Mac isn't using an untested codepath. One upside to this is that we'll now call ourselves "unzip" even when run as `ziptool unzip ...`, which was awkward to fix with <error.h> but trivial if we're rolling our own anyway. Test: still works on Linux Change-Id: I9cb1922595a21cd9f6d55a70d67e30090f8b7f21 |
||
---|---|---|
.. | ||
include/ziparchive | ||
testdata | ||
.clang-format | ||
Android.bp | ||
entry_name_utils-inl.h | ||
entry_name_utils_test.cc | ||
libziparchive_fuzzer.cpp | ||
OWNERS | ||
unzip.cpp | ||
zip_archive.cc | ||
zip_archive_benchmark.cpp | ||
zip_archive_common.h | ||
zip_archive_private.h | ||
zip_archive_stream_entry.cc | ||
zip_archive_test.cc | ||
zip_writer.cc | ||
zip_writer_test.cc |