platform_system_core/libziparchive
Elliott Hughes bcd810622b unzip: fix Mac build.
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
2019-11-03 08:30:33 -08:00
..
include/ziparchive zipinfo: support DOS attributes. 2019-10-29 07:55:16 -07:00
testdata
.clang-format
Android.bp libziparchive: add zipinfo(1). 2019-10-25 10:07:08 -07:00
entry_name_utils-inl.h Ziparchive: Enable -Wconversion 2019-04-05 13:50:48 -07:00
entry_name_utils_test.cc
libziparchive_fuzzer.cpp libziparchive: add trivial fuzzer. 2019-10-22 11:45:49 -07:00
OWNERS Add OWNERS. 2017-12-07 13:30:03 -08:00
unzip.cpp unzip: fix Mac build. 2019-11-03 08:30:33 -08:00
zip_archive.cc zipinfo: support DOS attributes. 2019-10-29 07:55:16 -07:00
zip_archive_benchmark.cpp [zip] Save 1 malloc and memset for each added file in ZipWriter 2019-06-18 21:49:16 -07:00
zip_archive_common.h
zip_archive_private.h libziparchive: add trivial fuzzer. 2019-10-22 11:45:49 -07:00
zip_archive_stream_entry.cc Ziparchive: Enable -Wconversion 2019-04-05 13:50:48 -07:00
zip_archive_test.cc ziparchive: add a std::string_view overload to Next. 2019-06-12 12:12:47 -07:00
zip_writer.cc Avoid using data descriptors in ZIP files when possible. 2019-07-23 06:58:53 +00:00
zip_writer_test.cc Avoid using data descriptors in ZIP files when possible. 2019-07-23 06:58:53 +00:00