platform_build/tools/ziptime
Dan Willemsen 41bc424c32 Use explicitly sized types in zipalign/ziptime
getLongLE would return a 64-bit number with the upper 32-bits set when
decoding a 32-bit number with the top bit set. Per the zip file format,
it was only expected to return a 32-bit number. Use explicitly sized
types so that we use the proper sizes and don't do any implicit
extensions.

Change-Id: I5a4304dc99ce5f8f17284d4ca3094ae115207a1e
2015-11-04 23:52:52 +00:00
..
Android.mk
README.txt
ZipEntry.cpp Use explicitly sized types in zipalign/ziptime 2015-11-04 23:52:52 +00:00
ZipEntry.h Use explicitly sized types in zipalign/ziptime 2015-11-04 23:52:52 +00:00
ZipFile.cpp Use explicitly sized types in zipalign/ziptime 2015-11-04 23:52:52 +00:00
ZipFile.h Use explicitly sized types in zipalign/ziptime 2015-11-04 23:52:52 +00:00
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.