diff options
| author | Kenny Root <kroot@google.com> | 2010-08-25 17:22:01 -0700 |
|---|---|---|
| committer | Android Git Automerger <android-git-automerger@android.com> | 2010-08-25 17:22:01 -0700 |
| commit | eb0e0f465155bc9ec2c79741890fb65bd403e33a (patch) | |
| tree | c5c47ccc0dc93fcd86309607c194bea22f72f088 /tools/aapt/Command.cpp | |
| parent | fde7fdd38d45e6bdb12cba9917a23d18e9f3457c (diff) | |
| parent | 2e7427f39ec15dcb43cc1247372b53980be11d38 (diff) | |
| download | frameworks_base-eb0e0f465155bc9ec2c79741890fb65bd403e33a.zip frameworks_base-eb0e0f465155bc9ec2c79741890fb65bd403e33a.tar.gz frameworks_base-eb0e0f465155bc9ec2c79741890fb65bd403e33a.tar.bz2 | |
am 2e7427f3: Merge "Add LFH offset to verbose list of APK" into gingerbread
Merge commit '2e7427f39ec15dcb43cc1247372b53980be11d38' into gingerbread-plus-aosp
* commit '2e7427f39ec15dcb43cc1247372b53980be11d38':
Add LFH offset to verbose list of APK
Diffstat (limited to 'tools/aapt/Command.cpp')
| -rw-r--r-- | tools/aapt/Command.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/tools/aapt/Command.cpp b/tools/aapt/Command.cpp index 35124aa..b0f086b 100644 --- a/tools/aapt/Command.cpp +++ b/tools/aapt/Command.cpp @@ -141,9 +141,9 @@ int doList(Bundle* bundle) if (bundle->getVerbose()) { printf("Archive: %s\n", zipFileName); printf( - " Length Method Size Ratio Date Time CRC-32 Name\n"); + " Length Method Size Ratio Offset Date Time CRC-32 Name\n"); printf( - "-------- ------ ------- ----- ---- ---- ------ ----\n"); + "-------- ------ ------- ----- ------- ---- ---- ------ ----\n"); } totalUncLen = totalCompLen = 0; @@ -159,12 +159,13 @@ int doList(Bundle* bundle) strftime(dateBuf, sizeof(dateBuf), "%m-%d-%y %H:%M", localtime(&when)); - printf("%8ld %-7.7s %7ld %3d%% %s %08lx %s\n", + printf("%8ld %-7.7s %7ld %3d%% %8zd %s %08lx %s\n", (long) entry->getUncompressedLen(), compressionName(entry->getCompressionMethod()), (long) entry->getCompressedLen(), calcPercent(entry->getUncompressedLen(), entry->getCompressedLen()), + (size_t) entry->getLFHOffset(), dateBuf, entry->getCRC32(), entry->getFileName()); |
