platform_build/tools/ziptime
Elliott Hughes 04434739a2 zipalign/ziptime: use ftello()/fseeko().
Even if we were shipping 64-bit Windows host tools (which we still
aren't), this would still be a bug. Windows is LLP64 instead of LP64,
so the long that ftell()/fseek() uses isn't big enough for a 64-bit off_t.

Test: treehugger
Change-Id: I4e24afe811ff9b7d5696887cc5ee92e54e4a3b76
2023-01-13 00:41:38 +00:00
..
Android.bp [LSC] Add LOCAL_LICENSE_KINDS to build/make 2021-02-14 10:37:20 -08:00
README.txt
ZipEntry.cpp zipalign/ziptime: use ftello()/fseeko(). 2023-01-13 00:41:38 +00:00
ZipEntry.h
ZipFile.cpp zipalign/ziptime: use ftello()/fseeko(). 2023-01-13 00:41:38 +00:00
ZipFile.h
ZipTime.cpp

ziptime -- zip timestamp tool

usage: ziptime file.zip

  file.zip is an existing Zip archive to rewrite


This tools replaces the timestamps in the zip headers with a static time
(Jan 1 2008). The extra fields are not changed, so you'll need to use the
-X option to zip so that it doesn't create the 'universal time' extra.